mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03:00
fix(LaunchController): use separate message for account errors
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
f7941b6431
commit
314a7fc67d
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue