Skip to content

Commit

Permalink
fix: display of non-functional keyboard shortcuts in deck picker
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjaySargam authored and BrayanDSO committed Jan 16, 2025
1 parent 9c8e6d8 commit 23b4783
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions AnkiDroid/src/main/java/com/ichi2/anki/DeckPicker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2571,7 +2571,7 @@ open class DeckPicker :
override val shortcuts
get() =
ShortcutGroup(
listOf(
listOfNotNull(
shortcut("A", R.string.menu_add_note),
shortcut("B", R.string.card_browser_context_menu),
shortcut("Y", R.string.pref_cat_sync),
Expand All @@ -2581,9 +2581,9 @@ open class DeckPicker :
shortcut("C", R.string.check_db),
shortcut("D", R.string.new_deck),
shortcut("F", R.string.new_dynamic_deck),
shortcut("DEL", R.string.delete_deck_title),
shortcut("Shift+DEL", R.string.delete_deck_without_confirmation),
shortcut("R", R.string.rename_deck),
if (fragmented) shortcut("DEL", R.string.contextmenu_deckpicker_delete_deck) else null,
if (fragmented) shortcut("Shift+DEL", R.string.delete_deck_without_confirmation) else null,
if (fragmented) shortcut("R", R.string.rename_deck) else null,
shortcut("P", R.string.open_settings),
shortcut("M", R.string.check_media),
shortcut("Ctrl+E", R.string.export_collection),
Expand Down

0 comments on commit 23b4783

Please sign in to comment.