Fix battery low notification text

This commit is contained in:
don philipe
2022-07-03 21:00:45 +02:00
parent 6638db6f44
commit 9ffba72620

View File

@@ -74,7 +74,7 @@ gears.timer {
destroy = function () destroy = function ()
low_notification = false low_notification = false
end, end,
text = tostring(err) }) text = tostring(percent) .. "%" })
low_notification = show ~= nil low_notification = show ~= nil
end end
end end