[fix, plugin] Don't show full widget together with isOnline() (#5575)
Fixes https://github.com/koreader/koreader/issues/5415 Cf. https://github.com/koreader/koreader/pull/5452 https://github.com/koreader/koreader/pull/5573 https://github.com/koreader/koreader/pull/5574
This commit is contained in:
1 parent
f0b2d58342
commit
dc4453eb7f
2 files changed
+2
No files matched your search
@@ -325,6 +325,7 @@ end
|
||||
function EvernoteExporter:login()
|
||||
if not NetworkMgr:isOnline() then
|
||||
NetworkMgr:promptWifiOn()
|
||||
return
|
||||
end
|
||||
self.login_dialog = LoginDialog:new{
|
||||
title = self.login_title,
|
||||
|
||||
@@ -250,6 +250,7 @@ end
|
||||
function KOSync:login()
|
||||
if not NetworkMgr:isOnline() then
|
||||
NetworkMgr:promptWifiOn()
|
||||
return
|
||||
end
|
||||
self.login_dialog = LoginDialog:new{
|
||||
title = self.title,
|
||||
|
||||
Reference in new issue
Block a user