File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class HomePageBody extends StatelessWidget {
3636 },
3737 onNo: () async {
3838 await SaveTourStatus .saveTutorialPromptShown (true );
39- await SaveTourStatus .saveInAppTourStatus ( true );
39+ await SaveTourStatus .disableAllTutorials ( );
4040 if (dialogContext.mounted) {
4141 Navigator .of (dialogContext).pop ();
4242 }
Original file line number Diff line number Diff line change @@ -70,4 +70,14 @@ class SaveTourStatus {
7070 static Future <bool > getTutorialPromptShown () async {
7171 return _preferences? .getBool ('tutorial_prompt_shown' ) ?? false ;
7272 }
73+
74+ static Future disableAllTutorials () async {
75+ await saveReportsTourStatus (true );
76+ await saveInAppTourStatus (true );
77+ await saveFilterTourStatus (true );
78+ await saveProfileTourStatus (true );
79+ await saveDetailsTourStatus (true );
80+ await saveManageTaskServerTourStatus (true );
81+ await saveTaskSwipeTutorialStatus (true );
82+ }
7383}
You can’t perform that action at this time.
0 commit comments