forked from firka/firka
Update firka/lib/ui/phone/widgets/login_webview.dart
This commit is contained in:
@@ -168,7 +168,10 @@ class _LoginWebviewWidgetState extends FirkaState<LoginWebviewWidget>
|
||||
if (!mounted) return NavigationDecision.prevent;
|
||||
|
||||
if (mounted) {
|
||||
Navigator.of(context).pop();
|
||||
final isReauth = widget.username != null;
|
||||
if (isReauth) {
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
appRouter?.go('/home');
|
||||
}
|
||||
} catch (ex) {
|
||||
|
||||
Reference in New Issue
Block a user