Make app dymanically resizable for phone & web
This commit is contained in:
parent
98db9ce0c5
commit
c8f99a03b4
35 changed files with 306 additions and 208 deletions
|
|
@ -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('/');
|
||||
},
|
||||
)
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue