Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TutorialBase resets on uiMode change #99

Open
nicolarevelant opened this issue Sep 25, 2024 · 0 comments
Open

TutorialBase resets on uiMode change #99

nicolarevelant opened this issue Sep 25, 2024 · 0 comments

Comments

@nicolarevelant
Copy link

  1. Touch "More" on bottom bar
  2. Touch "Learn"
  3. Touch one of the 4 tutorials
  4. Go to the next page (second, third, and fourth tutorial only)
  5. Check the checkbox and click the 2 sudoku boards to select a cell (first tutorial only)
  6. Switch between light and dark mode twice

Possible solution:

/app/src/main/java/com/kaajjo/libresudoku/ui/learn/learnsudoku/LearnSudokuRules.kt: 35, 36, 156 use rememberSaveable instead of remember
/app/src/main/java/com/kaajjo/libresudoku/ui/learn/learnsudoku/LearnBasic.kt:71 use rememberSaveable instead of remember
/app/src/main/java/com/kaajjo/libresudoku/ui/learn/learnsudoku/LearnNakedPairs.kt:71 use rememberSaveable instead of remember
/app/src/main/java/com/kaajjo/libresudoku/ui/learn/learnsudoku/LearnHiddenPairs.kt:73 use rememberSaveable instead of remember

Screenshots:


Version:

1.5.0 (7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant