feat: async utilities
This commit is contained in:
parent
473e4456b0
commit
23834525ed
5 changed files with 5 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ Loader {
|
|||
|
||||
required property var props
|
||||
|
||||
asynchronous: true
|
||||
anchors.fill: parent
|
||||
|
||||
opacity: root.props.recordingConfirmDelete ? 1 : 0
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ Item {
|
|||
Loader {
|
||||
id: content
|
||||
|
||||
asynchronous: true
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.margins: Appearance.padding.large
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ StyledRect {
|
|||
Loader {
|
||||
id: activeChip
|
||||
|
||||
asynchronous: true
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.topMargin: Appearance.spacing.larger
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ StyledRect {
|
|||
|
||||
property bool running: Recorder.running
|
||||
|
||||
asynchronous: true
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: implicitHeight
|
||||
sourceComponent: running ? recordingControls : recordingList
|
||||
|
|
|
|||
|
|
@ -163,6 +163,7 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
Loader {
|
||||
asynchronous: true
|
||||
anchors.centerIn: parent
|
||||
|
||||
opacity: list.count === 0 ? 1 : 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue