fix: use proper networks model for detection of offline chain providers

This commit is contained in:
Dario Gabriel Lipicar 2024-09-16 17:12:02 -03:00 committed by dlipicar
parent ffe046df29
commit ff45e76782
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ QtObject {
} }
readonly property var blockchainNetworksDown: !!networkConnectionModule.blockchainNetworkConnection.chainIds ? networkConnectionModule.blockchainNetworkConnection.chainIds.split(";") : [] readonly property var blockchainNetworksDown: !!networkConnectionModule.blockchainNetworkConnection.chainIds ? networkConnectionModule.blockchainNetworkConnection.chainIds.split(";") : []
readonly property bool atleastOneBlockchainNetworkAvailable: blockchainNetworksDown.length < __filteredflatNetworks.count readonly property bool atleastOneBlockchainNetworkAvailable: blockchainNetworksDown.length < filteredflatNetworks.count
readonly property bool sendBuyBridgeEnabled: localAppSettings.testEnvironment || (isOnline && readonly property bool sendBuyBridgeEnabled: localAppSettings.testEnvironment || (isOnline &&
(!networkConnectionModule.blockchainNetworkConnection.completelyDown && atleastOneBlockchainNetworkAvailable) && (!networkConnectionModule.blockchainNetworkConnection.completelyDown && atleastOneBlockchainNetworkAvailable) &&