mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 17:26:35 +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 [],
|
const [],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
} else if (result.success) {
|
||||||
|
emit(
|
||||||
|
JobsStateFinished(
|
||||||
|
[UpgradeServerJob(status: JobStatusEnum.finished)],
|
||||||
|
null,
|
||||||
|
const [],
|
||||||
|
),
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
emit(
|
emit(
|
||||||
JobsStateFinished(
|
JobsStateFinished(
|
||||||
|
|
Loading…
Reference in a new issue