diff --git a/lib/utilities/app_routes.dart b/lib/utilities/app_routes.dart index e4fcb59..17a20cf 100644 --- a/lib/utilities/app_routes.dart +++ b/lib/utilities/app_routes.dart @@ -17,7 +17,7 @@ abstract class Routes { static final routes = [ GetPage( name: HOME, - page: () => const HomeScreen(), + page: () => HomeScreen(), ), GetPage( name: PROFILE, diff --git a/lib/views/root/root_screen.dart b/lib/views/root/root_screen.dart index a8cf094..a20ca5e 100644 --- a/lib/views/root/root_screen.dart +++ b/lib/views/root/root_screen.dart @@ -19,9 +19,9 @@ class RootScreen extends BaseScreen { return Obx( () => IndexedStack( index: viewModel.selectedIndex, - children: const [ + children: [ HomeScreen(), - ProfileScreen(), + const ProfileScreen(), ], ), );