Skip to content

Commit

Permalink
fix: show search icon instantly
Browse files Browse the repository at this point in the history
  • Loading branch information
gayatriii0803 authored and lukstbit committed May 23, 2024
1 parent e605223 commit 93df55c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2359,6 +2359,7 @@ open class DeckPicker :
if (fragmented) {
loadStudyOptionsFragment(false)
}
invalidateOptionsMenu()
}
createDeckDialog.showDialog()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@ class DeckPickerFloatingActionMenu(
CreateDeckDialog.DeckDialogType.DECK,
null
)
createDeckDialog.onNewDeckCreated = { deckPicker.updateDeckList() }
createDeckDialog.onNewDeckCreated = {
deckPicker.updateDeckList()
deckPicker.invalidateOptionsMenu()
}
createDeckDialog.showDialog()
}
}
Expand Down

0 comments on commit 93df55c

Please sign in to comment.