0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00

Remove invalidateOptionsMenu() call

Theoretically it should be unnecessary, as it's called in refreshState()
This commit is contained in:
Damien Elmes 2022-08-15 03:16:53 +10:00 committed by Mike Hardy
parent 55d5aab7d0
commit e62024b909

View File

@ -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