mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
fix: typos in field names
This commit is contained in:
parent
06513b6fa6
commit
4f200ae757
|
@ -49,9 +49,10 @@ abstract class ServerInstallationState extends Equatable {
|
||||||
bool get isPrimaryUserFilled => rootUser != null;
|
bool get isPrimaryUserFilled => rootUser != null;
|
||||||
bool get isServerCreated => serverDetails != 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
|
ServerSetupProgress get progress => ServerSetupProgress
|
||||||
.values[_fulfilementList.where((final el) => el!).length];
|
.values[_fulfillmentList.where((final el) => el!).length];
|
||||||
|
|
||||||
int get porgressBar {
|
int get porgressBar {
|
||||||
if (progress.index < 6) {
|
if (progress.index < 6) {
|
||||||
|
@ -63,7 +64,7 @@ abstract class ServerInstallationState extends Equatable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
List<bool?> get _fulfilementList {
|
List<bool?> get _fulfillmentList {
|
||||||
final List<bool> res = [
|
final List<bool> res = [
|
||||||
isServerProviderApiKeyFilled,
|
isServerProviderApiKeyFilled,
|
||||||
isServerTypeFilled,
|
isServerTypeFilled,
|
||||||
|
|
Loading…
Reference in a new issue