Commit f1adb95
fix(preferences): fragment back stack being reset
the backPressed callbacks are disabled when the fragment is created, and get enabled when the backstack changes with the backstack listeners
The issue was that after an activity recreation, the callbacks weren't being enabled because there was no backstack change
So, enabling them manually when the view is created fix that
(cherry picked from commit 235e376)1 parent 7a698a8 commit f1adb95
File tree
1 file changed
+3
-0
lines changed- AnkiDroid/src/main/java/com/ichi2/anki/preferences
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
164 | 167 | | |
165 | 168 | | |
166 | 169 | | |
| |||
0 commit comments