Skip to content

Commit

Permalink
[fix, plugin] Don't show full widget together with isOnline() (koread…
Browse files Browse the repository at this point in the history
  • Loading branch information
Frenzie authored and mwoz123 committed Mar 29, 2020
1 parent 2e89ef7 commit 7b46225
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 7b46225

Please sign in to comment.