Skip to content

Commit

Permalink
fix: use proper networks model for detection of offline chain providers
Browse files Browse the repository at this point in the history
  • Loading branch information
dlipicar committed Sep 16, 2024
1 parent ffe046d commit ff45e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/imports/shared/stores/NetworkConnectionStore.qml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ QtObject {
}

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 &&
(!networkConnectionModule.blockchainNetworkConnection.completelyDown && atleastOneBlockchainNetworkAvailable) &&
Expand Down

0 comments on commit ff45e76

Please sign in to comment.