mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 09:16:54 +00:00
fix: When using fallback upgrade, UI showed that upgrade failed
This commit is contained in:
parent
212c60c613
commit
c8577b3bdf
|
@ -107,6 +107,14 @@ class JobsCubit extends Cubit<JobsState> {
|
|||
const [],
|
||||
),
|
||||
);
|
||||
} else if (result.success) {
|
||||
emit(
|
||||
JobsStateFinished(
|
||||
[UpgradeServerJob(status: JobStatusEnum.finished)],
|
||||
null,
|
||||
const [],
|
||||
),
|
||||
);
|
||||
} else {
|
||||
emit(
|
||||
JobsStateFinished(
|
||||
|
|
Loading…
Reference in a new issue