rename element with wrong name

This commit is contained in:
end-4
2024-02-17 11:30:17 +07:00
parent de51a14e51
commit 7555018a95
+3 -3
View File
@@ -11,11 +11,11 @@ import { Tray } from "./tray.js";
export default () => { export default () => {
const barTray = Tray(); const barTray = Tray();
const notifCounter = Widget.Revealer({ const separatorDot = Widget.Revealer({
transition: 'slide_left', transition: 'slide_left',
revealChild: false, revealChild: false,
attribute: { attribute: {
'count': 0, 'count': SystemTray.items.length,
'update': (self, diff) => { 'update': (self, diff) => {
self.attribute.count += diff; self.attribute.count += diff;
self.revealChild = (self.attribute.count > 0); self.revealChild = (self.attribute.count > 0);
@@ -48,7 +48,7 @@ export default () => {
children: [ children: [
Widget.Box({ hexpand: true, }), Widget.Box({ hexpand: true, }),
barTray, barTray,
notifCounter, separatorDot,
barStatusIcons, barStatusIcons,
], ],
}), }),