fix(connectionStatus): Remove redundant `changed` notifier from nim

There is no need to emit `changed` event for the QObject exposed from nim if only the underlying data changes.
This commit is contained in:
Alex Jbanca 2024-10-23 14:32:16 +03:00
parent 9d64cc1a57
commit c7ddf16515
No known key found for this signature in database
GPG Key ID: 6004079575C21C5D
1 changed files with 0 additions and 3 deletions

View File

@ -68,12 +68,9 @@ QtObject:
case website: case website:
of BLOCKCHAINS: of BLOCKCHAINS:
self.blockchainNetworkConnection.updateValues(completelyDown, connectionState, chainIds, lastCheckedAt) self.blockchainNetworkConnection.updateValues(completelyDown, connectionState, chainIds, lastCheckedAt)
self.blockchainNetworkConnectionChanged()
of COLLECTIBLES: of COLLECTIBLES:
self.collectiblesNetworkConnection.updateValues(completelyDown, connectionState, chainIds, lastCheckedAt) self.collectiblesNetworkConnection.updateValues(completelyDown, connectionState, chainIds, lastCheckedAt)
self.collectiblesNetworkConnectionChanged()
of MARKET: of MARKET:
self.marketValuesNetworkConnection.updateValues(completelyDown, connectionState, chainIds, lastCheckedAt) self.marketValuesNetworkConnection.updateValues(completelyDown, connectionState, chainIds, lastCheckedAt)
self.marketValuesNetworkConnectionChanged()
self.networkConnectionStatusUpdate(website, completelyDown, connectionState, chainIds, float(lastCheckedAt)) self.networkConnectionStatusUpdate(website, completelyDown, connectionState, chainIds, float(lastCheckedAt))