mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[StatusBar] Allow status bars to be repainted if they are not covered (#9768)
This commit is contained in:
@@ -70,7 +70,7 @@ function ReaderDeviceStatus:init()
|
||||
UIManager:close(self.memory_confirm_box)
|
||||
end
|
||||
if Device:canRestart() then
|
||||
if UIManager:getTopWidget() == "ReaderUI"
|
||||
if UIManager:getNthTopWidget().name == "ReaderUI"
|
||||
and G_reader_settings:isTrue("device_status_memory_auto_restart") then
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("High memory usage!\n\nKOReader is restarting…"),
|
||||
|
||||
Reference in New Issue
Block a user