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:
parent
9d64cc1a57
commit
c7ddf16515
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue