File tree Expand file tree Collapse file tree 5 files changed +4
-14
lines changed Expand file tree Collapse file tree 5 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ class HomePageBody extends StatelessWidget {
2020 controller.showInAppTour (context);
2121 return DoubleBackToCloseApp (
2222 snackBar: const SnackBar (content: Text ('Tap back again to exit' )),
23- // ignore: avoid_unnecessary_containers
2423 child: Container (
2524 color: AppSettings .isDarkMode
2625 ? Palette .kToDark.shade200
Original file line number Diff line number Diff line change @@ -33,12 +33,6 @@ class HomeView extends GetView<HomeController> {
3333
3434 controller.checkForSync (context);
3535
36- // var taskData = controller.searchedTasks;
37-
38- // var pendingFilter = controller.pendingFilter;
39- // var waitingFilter = controller.waitingFilter;
40- // var pendingTags = controller.pendingTags;
41-
4236 return Obx (
4337 () => Scaffold (
4438 appBar: HomePageAppBar (
Original file line number Diff line number Diff line change @@ -16,11 +16,7 @@ class OnboardingPageStartButton extends StatelessWidget {
1616 child: ElevatedButton (
1717 onPressed: () {
1818 controller.markOnboardingAsCompleted ();
19- // Navigator.of(context).pushAndRemoveUntil(
20- // MaterialPageRoute(builder: (context) => const HomeView()),
21- // (Route<dynamic> route) => false,
22- // );
23- Get .toNamed (Routes .HOME );
19+ Get .offNamed (Routes .HOME );
2420 },
2521 style: ElevatedButton .styleFrom (
2622 backgroundColor: TaskWarriorColors .black,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ class SplashBinding extends Bindings {
77 void dependencies () {
88 Get .put <SplashController >(
99 SplashController (),
10+ permanent: true ,
1011 );
1112 }
1213}
Original file line number Diff line number Diff line change @@ -95,9 +95,9 @@ class SplashController extends GetxController {
9595 void sendToNextPage () async {
9696 await checkOnboardingStatus ();
9797 if (hasCompletedOnboarding.value) {
98- Get .toNamed (Routes .HOME );
98+ Get .offNamed (Routes .HOME );
9999 } else {
100- Get .toNamed (Routes .ONBOARDING );
100+ Get .offNamed (Routes .ONBOARDING );
101101 }
102102 }
103103}
You can’t perform that action at this time.
0 commit comments