tor: better loading message

This commit is contained in:
ardocrat 2024-05-18 10:45:18 +03:00
parent 46c82c83ab
commit 78ba870dbc

View file

@ -274,7 +274,7 @@ impl WalletTransport {
let is_starting = Tor::is_service_starting(service_id); let is_starting = Tor::is_service_starting(service_id);
let has_error = Tor::is_service_failed(service_id); let has_error = Tor::is_service_failed(service_id);
let (icon, text) = if wallet.foreign_api_port().is_none() { let (icon, text) = if wallet.foreign_api_port().is_none() {
(DOTS_THREE_CIRCLE, t!("wallets.loading")) (DOTS_THREE_CIRCLE, t!("wallets.wallet_loading"))
} else if is_starting { } else if is_starting {
(DOTS_THREE_CIRCLE, t!("transport.connecting")) (DOTS_THREE_CIRCLE, t!("transport.connecting"))
} else if has_error { } else if has_error {