Skip to content

Commit

Permalink
Remove invalidateOptionsMenu() call
Browse files Browse the repository at this point in the history
Theoretically it should be unnecessary, as it's called in refreshState()
  • Loading branch information
dae committed Aug 15, 2022
1 parent 8e095c1 commit b04e174
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,6 @@ open class DeckPicker :

@RustCleanup("backup with 5 minute timer, instead of deck list refresh")
private fun updateDeckList(quick: Boolean) {
invalidateOptionsMenu()
if (!BackendFactory.defaultLegacySchema) {
// uses user's desktop settings to determine whether a backup
// actually happens
Expand Down

0 comments on commit b04e174

Please sign in to comment.