mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-25 05:52:50 -05:00
- DankGridView, DankFlickable, DankListView\ - Touchpad behavior greatly improved by preserving momentum - Fixed janky nested scrollers in control center
29 lines
546 B
QML
29 lines
546 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import qs.Common
|
|
import qs.Services
|
|
import qs.Widgets
|
|
|
|
DankListView {
|
|
id: root
|
|
|
|
property alias count: root.count
|
|
property alias listContentHeight: root.contentHeight
|
|
|
|
width: parent.width
|
|
height: parent.height
|
|
clip: true
|
|
model: NotificationService.groupedNotifications
|
|
spacing: Theme.spacingL
|
|
|
|
NotificationEmptyState {
|
|
visible: root.count === 0
|
|
anchors.centerIn: parent
|
|
}
|
|
|
|
|
|
delegate: NotificationCard {
|
|
notificationGroup: modelData
|
|
}
|
|
}
|