From 5e4c4f2b994a7c9fcb17a777da70cef4286f0e55 Mon Sep 17 00:00:00 2001 From: Digital Artifex <7929434+DigitalArtifex@users.noreply.github.com> Date: Wed, 17 Jun 2026 19:50:18 -0400 Subject: [PATCH] Added KeroLoadingAnimation --- KomplexHubContent/pages/HomePage.qml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/KomplexHubContent/pages/HomePage.qml b/KomplexHubContent/pages/HomePage.qml index 3378a0e..5f9d151 100644 --- a/KomplexHubContent/pages/HomePage.qml +++ b/KomplexHubContent/pages/HomePage.qml @@ -206,4 +206,32 @@ Item { } } } + + KeroLoadingAnimation + { + id: loadingAnimation + anchors.fill: parent + + OpacityAnimator on opacity { + duration: 150 + } + + visible: opacity > 0 + opacity: 0 + } + + states: [ + State { + name: "loading" + when: newestPacksModel.state == NewestPacksModel.Loading || + featuredImagesModel.state == FeaturedImagesModel.Loading || + featuredVideosModel.state == FeaturedVideosModel.Loading; + + PropertyChanges { + target: loadingAnimation + opacity: 1 + } + } + + ] }