feat: remove "i already have sp server" button if installation started #497

Merged
inex merged 1 commits from def/delete_i_have_sp_server2 into master 2024-04-10 18:20:35 +03:00
1 changed files with 3 additions and 1 deletions

View File

@ -130,7 +130,9 @@ class InitializingPage extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.center,
children: [
if (cubit.state is ServerInstallationEmpty ||
cubit.state is ServerInstallationNotFinished)
cubit.state is ServerInstallationNotFinished &&
cubit.state.progress ==
ServerSetupProgress.nothingYet)
Container(
alignment: Alignment.center,
child: BrandButton.filled(