mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-26 06:21:15 +00:00
parent
70e9c89465
commit
080bc44971
@ -602,7 +602,8 @@ Item {
|
||||
id: connectedBannerComponent
|
||||
|
||||
ModuleWarning {
|
||||
readonly property bool isConnected: bannersLayout.isConnected
|
||||
id: connectedBanner
|
||||
property bool isConnected: true
|
||||
|
||||
objectName: "connectionInfoBanner"
|
||||
Layout.fillWidth: true
|
||||
@ -617,7 +618,7 @@ Item {
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
updateState()
|
||||
connectedBanner.isConnected = Qt.binding(() => bannersLayout.isConnected);
|
||||
}
|
||||
onIsConnectedChanged: {
|
||||
updateState();
|
||||
|
Loading…
x
Reference in New Issue
Block a user