Add spinner when fetching homeservers list
This commit is contained in:
parent
4f1b007e6f
commit
cc06645275
|
@ -243,5 +243,18 @@ HBox {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: theme.colors.strongBackground
|
color: theme.colors.strongBackground
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HLoader {
|
||||||
|
id: busyIndicatorLoader
|
||||||
|
anchors.centerIn: parent
|
||||||
|
width: 96 * theme.uiScale
|
||||||
|
height: width
|
||||||
|
|
||||||
|
source: "../../Base/HBusyIndicator.qml"
|
||||||
|
active: box.fetchServersFuture
|
||||||
|
opacity: active ? 1 : 0
|
||||||
|
|
||||||
|
Behavior on opacity { HNumberAnimation { factor: 2 } }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user