File tree Expand file tree Collapse file tree
main/java/be/scri/helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ object HintUtils {
3535 putBoolean(" hint_shown_settings" , false )
3636 putBoolean(" hint_shown_about" , false )
3737 putBoolean(" swipe_tutorial_shown" , false )
38+ putBoolean(" swipe_tutorial_interactive_shown" , false )
3839 apply ()
3940 }
4041 }
Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ abstract class GeneralKeyboardIME(
422422
423423 private fun initSwipeTutorial () {
424424 val sharedPref = applicationContext.getSharedPreferences(" app_preferences" , MODE_PRIVATE )
425- val tutorialShown = sharedPref.getBoolean(" swipe_tutorial_shown " , false )
425+ val tutorialShown = sharedPref.getBoolean(" swipe_tutorial_interactive_shown " , false )
426426 if (! tutorialShown) {
427427 val ic = currentInputConnection
428428 if (ic != null ) {
@@ -480,7 +480,7 @@ abstract class GeneralKeyboardIME(
480480
481481 private fun dismissSwipeTutorial () {
482482 val sharedPref = applicationContext.getSharedPreferences(" app_preferences" , MODE_PRIVATE )
483- sharedPref.edit().putBoolean(" swipe_tutorial_shown " , true ).apply ()
483+ sharedPref.edit().putBoolean(" swipe_tutorial_interactive_shown " , true ).apply ()
484484 setSwipeTutorialState(SwipeTutorialState .NOT_ACTIVE )
485485 }
486486
Original file line number Diff line number Diff line change @@ -606,6 +606,7 @@ object PreferencesHelper {
606606 putBoolean(" hint_shown_settings" , false )
607607 putBoolean(" hint_shown_about" , false )
608608 putBoolean(" swipe_tutorial_shown" , false )
609+ putBoolean(" swipe_tutorial_interactive_shown" , false )
609610 apply ()
610611 }
611612 }
You can’t perform that action at this time.
0 commit comments