This commit is contained in:
Vadim 2024-11-06 19:12:08 +01:00
parent 3f0eef67a0
commit 5c21abe298

View file

@ -145,7 +145,7 @@ class EquipmentProfileEditBloc extends Bloc<EquipmentProfileEditEvent, Equipment
emit(state.copyWith(isLoading: false)); emit(state.copyWith(isLoading: false));
} }
bool _canSave(String name, double? exponent) { bool _canSave(String name, double? lensZoom) {
return name.isNotEmpty && exponent != null && _newEquipmentProfile != _originalEquipmentProfile; return name.isNotEmpty && lensZoom != null && _newEquipmentProfile != _originalEquipmentProfile;
} }
} }