1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-06 22:02:07 -04:00

Fix global warnings

This commit is contained in:
purian23
2026-02-12 22:50:11 -05:00
committed by bbedward
parent 0772f6deb7
commit 00e6172a68
2 changed files with 11 additions and 4 deletions

View File

@@ -16,7 +16,8 @@ DankListView {
Component.onCompleted: {
Qt.callLater(() => {
listInitialized = true;
if (listView)
listView.listInitialized = true;
});
}
@@ -88,7 +89,8 @@ DankListView {
Component.onCompleted: {
Qt.callLater(() => {
__delegateInitialized = true;
if (delegateRoot)
delegateRoot.__delegateInitialized = true;
});
}
@@ -109,6 +111,8 @@ DankListView {
listView.isAnimatingExpansion = true;
} else {
Qt.callLater(() => {
if (!notificationCard || !listView)
return;
let anyAnimating = false;
for (let i = 0; i < listView.count; i++) {
const item = listView.itemAtIndex(i);