mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-20 04:42:59 +08:00
OAuth: close the webview explicitly afterwords
Hopefully this will fix the problem on iOS
This commit is contained in:
lib/apis
@ -24,6 +24,7 @@ class GitHub implements GitHost {
|
||||
return;
|
||||
}
|
||||
|
||||
closeWebView();
|
||||
Fimber.d("GitHub: Called onUrl with " + call.arguments.toString());
|
||||
|
||||
String url = call.arguments["URL"];
|
||||
|
@ -26,6 +26,7 @@ class GitLab implements GitHost {
|
||||
return;
|
||||
}
|
||||
|
||||
closeWebView();
|
||||
Fimber.d("GitLab: Called onUrl with " + call.arguments.toString());
|
||||
|
||||
String url = call.arguments["URL"];
|
||||
|
Reference in New Issue
Block a user