Apply suggestions from code review

reviewable/pr11678/r13
SomeGuy 1 month ago committed by GitHub
parent 35727c33fd
commit 74e7e4c27f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -302,10 +302,10 @@ function ReaderCoptListener:getAltStatusBarMenu()
status = _("Battery status: icon")
end
end
return T(_("%1"), status)
return status
end,
checked_func = function()
return self.battery == 1 and ( self.battery_percent == 0 or self.battery_percent == 1 )
return self.battery == 1
end,
sub_item_table = {
{

Loading…
Cancel
Save