🐛 fix(panel): correct battery icon path to load icons properly
This commit is contained in:
1 parent
559abfd5a9
commit
27116a544f
1 file changed
+1
-1
@@ -341,6 +341,6 @@ class BatteryIndicator(Box):
|
|||||||
|
|
||||||
# Update icon and tooltip
|
# Update icon and tooltip
|
||||||
self.battery_icon.set_from_file(
|
self.battery_icon.set_from_file(
|
||||||
get_relative_path(f"../../../config/assets/icons/{icon_file}")
|
get_relative_path(f"../../../config/assets/icons/battery/{icon_file}")
|
||||||
)
|
)
|
||||||
self.battery_button.set_tooltip_text(tooltip)
|
self.battery_button.set_tooltip_text(tooltip)
|
||||||
Reference in new issue
Block a user