fix: dialogs during server setup

This commit is contained in:
Inex Code 2023-06-16 06:00:08 +03:00
parent 53e72504f7
commit c87b834550

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,