mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-11 16:22:09 -04:00
notifications: fix crash in modal
This commit is contained in:
@@ -341,9 +341,7 @@ Rectangle {
|
|||||||
Repeater {
|
Repeater {
|
||||||
id: notificationRepeater
|
id: notificationRepeater
|
||||||
objectName: "notificationRepeater"
|
objectName: "notificationRepeater"
|
||||||
model: ScriptModel {
|
model: notificationGroup?.notifications?.slice(0, 10) || []
|
||||||
values: notificationGroup?.notifications?.slice(0, 10) || []
|
|
||||||
}
|
|
||||||
|
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
required property var modelData
|
required property var modelData
|
||||||
|
|||||||
Reference in New Issue
Block a user