fix: When using fallback upgrade, UI showed that upgrade failed

This commit is contained in:
Inex Code 2024-02-23 20:15:39 +03:00
parent 212c60c613
commit c8577b3bdf

View file

@ -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(