mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 13:14:32 +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,
|
.textDark,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (TorService.sharedInstance.enabled)
|
if (_torConnectionStatus == TorConnectionStatus.connected)
|
||||||
Text(
|
Text(
|
||||||
"Connected",
|
"Connected",
|
||||||
style: STextStyles.desktopTextExtraExtraSmall(context),
|
style: STextStyles.desktopTextExtraExtraSmall(context),
|
||||||
),
|
),
|
||||||
if (!TorService.sharedInstance.enabled)
|
if (_torConnectionStatus == TorConnectionStatus.connecting)
|
||||||
|
Text(
|
||||||
|
"Connecting...",
|
||||||
|
style: STextStyles.desktopTextExtraExtraSmall(context),
|
||||||
|
),
|
||||||
|
if (_torConnectionStatus ==
|
||||||
|
TorConnectionStatus.disconnected)
|
||||||
Text(
|
Text(
|
||||||
"Disconnected",
|
"Disconnected",
|
||||||
style: STextStyles.desktopTextExtraExtraSmall(context),
|
style: STextStyles.desktopTextExtraExtraSmall(context),
|
||||||
|
|
Loading…
Reference in a new issue