Skip to content

Commit

Permalink
[fix, plugin] Don't show full widget together with isOnline() (#5575)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frenzie committed Nov 6, 2019
1 parent f0b2d58 commit dc4453e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/evernote.koplugin/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions plugins/kosync.koplugin/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dc4453e

Please sign in to comment.