mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 11:38:57 +00:00
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
|
||||
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
|
||||
advancedHeaderComponent: StatusFloatingButtonsSelector {
|
||||
id: floatingHeader
|
||||
|
Loading…
x
Reference in New Issue
Block a user