fix(LaunchController): use separate message for account errors

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-03-04 21:46:29 +05:00
parent f7941b6431
commit 314a7fc67d
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -189,6 +189,8 @@ LaunchDecision LaunchController::decideLaunchMode()
QString reauthReason;
switch (state) {
case AccountState::Errored:
reauthReason = tr("Could not refresh '%1' due to an error").arg(accountToCheck->profileName());
break;
case AccountState::Expired:
reauthReason = tr("'%1' has expired and needs to be reauthenticated").arg(accountToCheck->profileName());
break;