mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix KOsync crash when closing document (#2911)
This commit is contained in:
@@ -605,6 +605,7 @@ function KOSync:_onResume()
|
||||
end
|
||||
|
||||
function KOSync:_onFlushSettings()
|
||||
if self.ui == nil or self.ui.document == nil then return end
|
||||
self:updateProgress()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user