Make app dymanically resizable for phone & web

This commit is contained in:
2024-07-11 13:31:02 +02:00
parent 98db9ce0c5
commit c8f99a03b4
35 changed files with 306 additions and 208 deletions

View File

@@ -147,7 +147,8 @@ class _PatManAppDrawerState extends State<PatManAppDrawer> {
],
),
onTap: () {
Navigator.of(context).pushNamed('/home');
//Navigator.of(context).pushNamed('/home');
Navigator.popAndPushNamed(context, '/home');
},
),
ListTile(
@@ -203,7 +204,8 @@ class _PatManAppDrawerState extends State<PatManAppDrawer> {
),
onTap: () {
client.auth.signOut();
Navigator.of(context).pushNamed('/');
Navigator.popAndPushNamed(context, '/');
//Navigator.of(context).pushNamed('/');
},
)
],