Skip to content

Commit

Permalink
Update AnkiDroid/src/main/java/com/ichi2/anki/IntentHandler.kt
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Hardy <github@mikehardy.net>
  • Loading branch information
david-allison and mikehardy authored Jan 4, 2025
1 parent c0dc16d commit 743c4e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AnkiDroid/src/main/java/com/ichi2/anki/IntentHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ class IntentHandler : AbstractIntentHandler() {
}
}
CollectionManager.getColUnsafe().decks.select(deckId)
// Clean the stack out under the reviewer to avoid any incorrect activities / dialogs /
// data state from prior app usage showing after reviewer exits if going to reviewer directly
TaskStackBuilder
.create(applicationContext)
.addNextIntent(reloadIntent)
Expand Down

0 comments on commit 743c4e8

Please sign in to comment.