mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
AccountSettings: Fix label for ServiceUnavailable state.
This commit is contained in:
parent
2ac8646320
commit
908881cbf7
@ -416,7 +416,7 @@ void AccountSettings::slotAccountStateChanged(int state)
|
||||
serverWithUser = tr("%1 as <i>%2</i>").arg(server, cred->user());
|
||||
}
|
||||
|
||||
if (state == AccountState::Connected || state == AccountState::ServiceUnavailable) {
|
||||
if (state == AccountState::Connected) {
|
||||
showConnectionLabel( tr("Connected to %1.").arg(serverWithUser) );
|
||||
} else if (state == AccountState::ServiceUnavailable) {
|
||||
showConnectionLabel( tr("Server %1 is temporarily unavailable.").arg(server) );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user