File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Rectangle {
99 property color baseColor: Theme .color .neutral1
1010 property color highlightColor: Theme .color .neutral2
1111 property int shimmerDuration: 2500
12+ property bool loading: true
1213
1314 radius: 3
1415
@@ -32,7 +33,7 @@ Rectangle {
3233 }
3334
3435 ParallelAnimation {
35- running: true
36+ running: loading
3637 loops: Animation .Infinite
3738 NumberAnimation {
3839 target: stop1
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Button {
4343 Skeleton {
4444 Layout .preferredHeight : 30
4545 Layout .preferredWidth : 30
46+ loading: root .loading
4647 }
4748 ColumnLayout {
4849 spacing: 2
@@ -52,11 +53,13 @@ Button {
5253 Skeleton {
5354 Layout .preferredHeight : 15
5455 Layout .preferredWidth : 50
56+ loading: root .loading
5557 }
5658
5759 Skeleton {
5860 Layout .preferredHeight : 15
5961 Layout .preferredWidth : 114
62+ loading: root .loading
6063 }
6164 }
6265 }
You can’t perform that action at this time.
0 commit comments