step 15 : fix route navigator, not fixed
This commit is contained in:
@@ -134,7 +134,7 @@ class CustomDrawer extends HookConsumerWidget {
|
||||
// Handle navigation to Home screen
|
||||
Navigator.pop(context);
|
||||
ref.read(currentPageProvider.state).update((state) => 0);
|
||||
Navigator.pushNamed(context, homeRoute);
|
||||
Navigator.of(context).popAndPushNamed(homeRoute);
|
||||
},
|
||||
),
|
||||
|
||||
@@ -170,7 +170,7 @@ class CustomDrawer extends HookConsumerWidget {
|
||||
alignment: Alignment.bottomRight,
|
||||
child: Text(
|
||||
'Versi ${Constant.version}',
|
||||
style: Constant.titleH1_700(context: context)
|
||||
style: Constant.logintitle_700(context: context)
|
||||
.copyWith(color: Constant.textLightGrey),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user