fix: Remove breaking installation changes

pull/149/head
NaiJi ✨ 2022-12-02 23:06:57 +04:00
parent e0b32404be
commit b5133aa2a6
2 changed files with 2 additions and 1 deletions

View File

@ -323,6 +323,7 @@ class ServerInstallationRepository {
}, },
cancelButtonOnPressed: onCancel, cancelButtonOnPressed: onCancel,
); );
return;
} }
saveServerDetails(createServerResult.data!); saveServerDetails(createServerResult.data!);

View File

@ -48,7 +48,7 @@ abstract class ServerInstallationState extends Equatable {
bool get isFullyInitilized => _fulfilementList.every((final el) => el!); bool get isFullyInitilized => _fulfilementList.every((final el) => el!);
ServerSetupProgress get progress => ServerSetupProgress ServerSetupProgress get progress => ServerSetupProgress
.values[_fulfilementList.where((final el) => el!).length + 1]; .values[_fulfilementList.where((final el) => el!).length];
int get porgressBar { int get porgressBar {
if (progress.index < 6) { if (progress.index < 6) {