fix(@desktop/wallet): Multinetwork QR code sometimes doesn't update when there is only 1 network left
fixes #6496
This commit is contained in:
parent
b6f16c8a47
commit
189d793b87
|
@ -41,6 +41,15 @@ StatusModal {
|
||||||
showHeader: false
|
showHeader: false
|
||||||
showAdvancedHeader: true
|
showAdvancedHeader: true
|
||||||
|
|
||||||
|
// When no network is selected reset the prefix to empty string
|
||||||
|
Connections {
|
||||||
|
target: RootStore.enabledNetworks
|
||||||
|
function onModelReset() {
|
||||||
|
if(RootStore.enabledNetworks.count === 0)
|
||||||
|
popup.networkPrefix = ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
hasFloatingButtons: true
|
hasFloatingButtons: true
|
||||||
advancedHeaderComponent: StatusFloatingButtonsSelector {
|
advancedHeaderComponent: StatusFloatingButtonsSelector {
|
||||||
id: floatingHeader
|
id: floatingHeader
|
||||||
|
|
Loading…
Reference in New Issue