We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1adb95 commit a54fc26Copy full SHA for a54fc26
AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt
@@ -2113,6 +2113,7 @@ open class DeckPicker :
2113
}
2114
2115
@NeedsTest("14608: Ensure that the deck options refer to the selected deck")
2116
+ @NeedsTest("18586: handle clicking on an empty filtered deck")
2117
private suspend fun handleDeckSelection(
2118
did: DeckId,
2119
selectionType: DeckSelectionType,
@@ -2152,7 +2153,7 @@ open class DeckPicker :
2152
2153
return
2154
2155
- if (isDeckAndSubdeckEmpty(did)) {
2156
+ if (!deck.filtered && isDeckAndSubdeckEmpty(did)) {
2157
showEmptyDeckSnackbar()
2158
updateUi()
2159
} else {
0 commit comments