summaryrefslogtreecommitdiff
path: root/modules/sidebar/NotifGroup.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sidebar/NotifGroup.qml')
-rw-r--r--modules/sidebar/NotifGroup.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/sidebar/NotifGroup.qml b/modules/sidebar/NotifGroup.qml
index 4366060..8a3d970 100644
--- a/modules/sidebar/NotifGroup.qml
+++ b/modules/sidebar/NotifGroup.qml
@@ -15,6 +15,7 @@ StyledRect {
required property string modelData
required property Props props
+ required property Flickable container
readonly property list<var> notifs: Notifs.list.filter(n => n.appName === modelData)
readonly property int notifCount: notifs.reduce((acc, n) => n.closed ? acc : acc + 1, 0)
@@ -231,6 +232,7 @@ StyledRect {
props: root.props
notifs: root.notifs
expanded: root.expanded
+ container: root.container
onRequestToggleExpand: expand => root.toggleExpand(expand)
}
}