From a2c60c1beb1ed2ec00c9939b2af68c9d62ecd42c Mon Sep 17 00:00:00 2001 From: enriqueloz88 Date: Tue, 24 Oct 2023 19:48:43 +0200 Subject: [PATCH] fix: No accounts warn not dissapearing from home screen --- lib/app/home/home.page.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/app/home/home.page.dart b/lib/app/home/home.page.dart index d63068db..1777057f 100644 --- a/lib/app/home/home.page.dart +++ b/lib/app/home/home.page.dart @@ -142,7 +142,7 @@ class _HomePageState extends State { showDialog( context: context, builder: (context) { - return AlertDialog( + return AlertDialog.adaptive( title: Text(t.home.should_create_account_header), content: SingleChildScrollView( child: Text(t.home.should_create_account_message)), @@ -150,6 +150,7 @@ class _HomePageState extends State { TextButton( child: Text(t.general.continue_text), onPressed: () { + Navigator.pop(context); Navigator.push( context, MaterialPageRoute(