fix: dialogs during server setup

pull/213/head
Inex Code 2023-06-16 06:00:08 +03:00
parent 53e72504f7
commit c87b834550
1 changed files with 3 additions and 3 deletions

View File

@ -724,10 +724,10 @@ class ServerInstallationCubit extends Cubit<ServerInstallationState> {
@override
void onChange(final Change<ServerInstallationState> change) {
if (change.currentState.installationDialoguePopUp != null &&
if (change.nextState.installationDialoguePopUp != null &&
change.currentState.installationDialoguePopUp !=
state.installationDialoguePopUp) {
final branching = change.currentState.installationDialoguePopUp;
change.nextState.installationDialoguePopUp) {
final branching = change.nextState.installationDialoguePopUp;
showPopUpAlert(
alertTitle: branching!.title,
description: branching.description,