show connecting state

This commit is contained in:
sneurlax 2023-09-08 16:26:43 -05:00
parent e34df895de
commit 832bfc08f7

View file

@ -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),