fix "+0 notifications"

This commit is contained in:
end-4
2025-11-29 00:37:15 +01:00
parent 6b90e37b0f
commit d2c019f8de
@@ -44,7 +44,7 @@ MouseArea {
width: ListView.view.width
notification: modelData
groupExpandControlMessage: {
if (root.notifications.length === 0) return "";
if (root.notifications.length <= 1) return "";
if (!root.expanded) return Translation.tr("+%1 notifications").arg(root.notifications.length - 1);
if (index === root.notifications.length - 1) return Translation.tr("See fewer");
return "";