mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
show connecting state
This commit is contained in:
parent
e34df895de
commit
832bfc08f7
1 changed files with 8 additions and 2 deletions
|
@ -872,12 +872,18 @@ class _WalletNetworkSettingsViewState
|
|||
.textDark,
|
||||
),
|
||||
),
|
||||
if (TorService.sharedInstance.enabled)
|
||||
if (_torConnectionStatus == TorConnectionStatus.connected)
|
||||
Text(
|
||||
"Connected",
|
||||
style: STextStyles.desktopTextExtraExtraSmall(context),
|
||||
),
|
||||
if (!TorService.sharedInstance.enabled)
|
||||
if (_torConnectionStatus == TorConnectionStatus.connecting)
|
||||
Text(
|
||||
"Connecting...",
|
||||
style: STextStyles.desktopTextExtraExtraSmall(context),
|
||||
),
|
||||
if (_torConnectionStatus ==
|
||||
TorConnectionStatus.disconnected)
|
||||
Text(
|
||||
"Disconnected",
|
||||
style: STextStyles.desktopTextExtraExtraSmall(context),
|
||||
|
|
Loading…
Reference in a new issue