Skip to content

Commit

Permalink
fix: keybindings and download-subtitles menus were not using `pal…
Browse files Browse the repository at this point in the history
…ette` search style
  • Loading branch information
tomasklaen committed Feb 6, 2024
1 parent 4a4d056 commit 777ed2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/uosc/lib/menus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/uosc/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 777ed2b

Please sign in to comment.