[volume] fix #248

This commit is contained in:
streetturtle 2021-04-11 20:31:58 -04:00
parent fc0293047b
commit aaa6fa2aaa
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ local function worker(user_args)
local refresh_rate = args.refresh_rate or 1 local refresh_rate = args.refresh_rate or 1
if widget_types[widget_type] == nil then if widget_types[widget_type] == nil then
volume.widget = widget_types['icon_and_text'].get_widget(user_args.icon_and_text_args) volume.widget = widget_types['icon_and_text'].get_widget(args.icon_and_text_args)
else else
volume.widget = widget_types[widget_type].get_widget(args) volume.widget = widget_types[widget_type].get_widget(args)
end end