Skip to content

Commit

Permalink
make download status non-interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklaen committed Oct 31, 2023
1 parent 3f295c5 commit ddf367d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dist/scripts/uosc/lib/menus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,11 @@ function open_subtitle_downloader()
return
end

menu:update_items({{icon = 'spinner', align = 'center', selectable = false, muted = true}})
menu = Menu:open({
type = menu_type .. '-result',
search_style = 'disabled',
items = {{icon = 'spinner', align = 'center', selectable = false, muted = true}},
}, function() end)

local args = itable_join({config.ziggy_path, 'download-subtitles'}, credentials, {
'--file-id', tostring(data.id),
Expand Down

0 comments on commit ddf367d

Please sign in to comment.