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 @@ -21,7 +21,6 @@ class HomePageBody extends StatelessWidget {
2121 controller.showInAppTour (context);
2222 return DoubleBackToCloseApp (
2323 snackBar: const SnackBar (content: Text ('Tap back again to exit' )),
24- // ignore: avoid_unnecessary_containers
2524 child: Container (
2625 color: AppSettings .isDarkMode
2726 ? 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 @@ -97,9 +97,9 @@ class SplashController extends GetxController {
9797 void sendToNextPage () async {
9898 await checkOnboardingStatus ();
9999 if (hasCompletedOnboarding.value) {
100- Get .toNamed (Routes .HOME );
100+ Get .offNamed (Routes .HOME );
101101 } else {
102- Get .toNamed (Routes .ONBOARDING );
102+ Get .offNamed (Routes .ONBOARDING );
103103 }
104104 }
105105}
You can’t perform that action at this time.
0 commit comments