mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 10:15:50 +00:00
15aa33000b
Real user reported Tron stuck showing "Connecting..." forever in the Networks screen after the ChainRegistry fix (which correctly skips creating a ChainConnection for Tron, since TronGrid is a plain REST API, not WSS). NetworkListAdapterItemFactory.getConnectingState() rendered every non-Connected state (including the Disconnected default a missing connection pool entry falls back to) as "Connecting" with an indefinite shimmer - there was no way to distinguish "never had a connection to begin with" from "still negotiating one". Tron doesn't have a meaningful WS connection state at all (its actual balance/transfer operations poll TronGridApi directly, confirmed independent of ChainConnection), so there's nothing correct to show here - treat it the same as the already-existing isDisabled early return (no status badge) rather than defaulting into the generic "still connecting" UI.