diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index aa926acd..07b80d3b 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -54,6 +54,7 @@ ColumnLayout { } Loader { + asynchronous: true Layout.leftMargin: Appearance.spacing.small Layout.alignment: Qt.AlignVCenter diff --git a/modules/lock/Fetch.qml b/modules/lock/Fetch.qml index e96b1431..e3feb693 100644 --- a/modules/lock/Fetch.qml +++ b/modules/lock/Fetch.qml @@ -162,6 +162,7 @@ ColumnLayout { } component WrappedLoader: Loader { + asynchronous: true visible: active } diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml index cce86cdf..9a4dde64 100644 --- a/modules/lock/NotifDock.qml +++ b/modules/lock/NotifDock.qml @@ -39,6 +39,7 @@ ColumnLayout { color: "transparent" Loader { + asynchronous: true anchors.centerIn: parent active: opacity > 0 opacity: Notifs.list.length > 0 && !Config.lock.hideNotifs ? 0 : 1 diff --git a/modules/lock/NotifGroup.qml b/modules/lock/NotifGroup.qml index 7fcb108e..2e8ca542 100644 --- a/modules/lock/NotifGroup.qml +++ b/modules/lock/NotifGroup.qml @@ -109,12 +109,14 @@ StyledRect { radius: Appearance.rounding.full Loader { + asynchronous: true anchors.centerIn: parent sourceComponent: root.image ? imageComp : root.appIcon ? appIconComp : materialIconComp } } Loader { + asynchronous: true anchors.right: parent.right anchors.bottom: parent.bottom active: root.appIcon && root.image @@ -270,6 +272,7 @@ StyledRect { } Loader { + asynchronous: true Layout.fillWidth: true opacity: root.expanded ? 1 : 0 diff --git a/modules/lock/WeatherInfo.qml b/modules/lock/WeatherInfo.qml index d6c25af2..e69a09df 100644 --- a/modules/lock/WeatherInfo.qml +++ b/modules/lock/WeatherInfo.qml @@ -19,6 +19,7 @@ ColumnLayout { spacing: Appearance.spacing.small Loader { + asynchronous: true Layout.topMargin: Appearance.padding.large * 2 Layout.bottomMargin: -Appearance.padding.large Layout.alignment: Qt.AlignHCenter @@ -71,6 +72,7 @@ ColumnLayout { } Loader { + asynchronous: true Layout.rightMargin: Appearance.padding.smaller active: root.width > 400 visible: active @@ -107,6 +109,7 @@ ColumnLayout { Loader { id: forecastLoader + asynchronous: true Layout.topMargin: Appearance.spacing.smaller Layout.bottomMargin: Appearance.padding.large * 2 Layout.fillWidth: true