Battery hotfix, passed battery_path instead of battery_kind

This commit is contained in:
Rene Kievits
2022-06-14 07:00:17 +02:00
parent b479255c39
commit 2b9003c70a

View File

@@ -15,7 +15,7 @@ return function(s)
if widget == "Audio" then if widget == "Audio" then
table.insert(widget_table, require("src.widgets.audio")(s)) table.insert(widget_table, require("src.widgets.audio")(s))
elseif widget == "Battery" then elseif widget == "Battery" then
table.insert(widget_table, require("src.widgets.battery")(User_config.battery_path)) table.insert(widget_table, require("src.widgets.battery")(User_config.battery_kind))
elseif widget == "Bluetooth" then elseif widget == "Bluetooth" then
table.insert(widget_table, require("src.widgets.bluetooth")()) table.insert(widget_table, require("src.widgets.bluetooth")())
elseif widget == "Clock" then elseif widget == "Clock" then