From 4f200ae75739e579aea2afe89ec6a8b138ba81e5 Mon Sep 17 00:00:00 2001 From: Aliaksei Tratseuski Date: Sat, 20 Apr 2024 13:37:04 +0400 Subject: [PATCH] fix: typos in field names --- .../server_installation/server_installation_state.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/logic/cubit/server_installation/server_installation_state.dart b/lib/logic/cubit/server_installation/server_installation_state.dart index 3f3ea267..e89e0c6b 100644 --- a/lib/logic/cubit/server_installation/server_installation_state.dart +++ b/lib/logic/cubit/server_installation/server_installation_state.dart @@ -49,9 +49,10 @@ abstract class ServerInstallationState extends Equatable { bool get isPrimaryUserFilled => rootUser != null; bool get isServerCreated => serverDetails != null; - bool get isFullyInitilized => _fulfilementList.every((final el) => el!); + bool get isFullyInitialized => + _fulfillmentList.every((final el) => el == true); ServerSetupProgress get progress => ServerSetupProgress - .values[_fulfilementList.where((final el) => el!).length]; + .values[_fulfillmentList.where((final el) => el!).length]; int get porgressBar { if (progress.index < 6) { @@ -63,7 +64,7 @@ abstract class ServerInstallationState extends Equatable { } } - List get _fulfilementList { + List get _fulfillmentList { final List res = [ isServerProviderApiKeyFilled, isServerTypeFilled,