fix icon visibility

This commit is contained in:
piotr
2022-01-27 02:12:22 +01:00
parent d4cf04f013
commit e7763c51ef

View File

@@ -75,6 +75,9 @@ class SwayNC(Gtk.EventBox):
update_image(self.image, "bell", self.settings["icon-size"], self.icons_path)
self.icon_path = "bell"
self.image.show()
else:
self.image.hide()
if num > 0:
self.label.set_text(str(num))
self.label.show()