opt.: more friendly err tip

This commit is contained in:
lollipopkit
2024-05-09 21:50:30 +08:00
parent 131ece725a
commit 7767cc4b51
17 changed files with 128 additions and 31 deletions

View File

@@ -53,7 +53,7 @@ extension ServerX on Server {
case ServerConn.connecting:
return l10n.serverTabConnecting;
case ServerConn.failed:
return status.err ?? l10n.serverTabFailed;
return status.err != null ? l10n.viewErr : l10n.serverTabFailed;
}
}
}