fix: keybindings and download-subtitles menus were not using palette search style

This commit is contained in:
tomasklaen
2024-02-06 10:45:45 +01:00
parent 4a4d0560b7
commit 777ed2bb40
2 changed files with 2 additions and 2 deletions

View File

@@ -821,7 +821,7 @@ function open_subtitle_downloader()
type = menu_type,
title = t('enter query'),
items = initial_items,
palette = true,
search_style = 'palette',
on_search = handle_search,
search_debounce = 'submit',
search_suggestion = search_suggestion,

View File

@@ -844,7 +844,7 @@ bind_command('keybinds', function()
if Menu:is_open('keybinds') then
Menu:close()
else
open_command_menu({type = 'keybinds', items = get_keybinds_items(), palette = true})
open_command_menu({type = 'keybinds', items = get_keybinds_items(), search_style = 'palette'})
end
end)
bind_command('download-subtitles', open_subtitle_downloader)