fixed profile selection

This commit is contained in:
Vadim 2023-03-23 10:02:43 +03:00
parent 1b52b1abf5
commit 21c1d94af7

View file

@ -43,7 +43,10 @@ class ReadingsContainer extends StatelessWidget {
_EquipmentProfilePicker(
selectedValue: EquipmentProfile.of(context)!,
values: EquipmentProfiles.of(context)!,
onChanged: (value) {},
onChanged: (value) {
EquipmentProfileProvider.of(context).setProfile(value);
onEquipmentProfileChanged(value);
},
),
const _InnerPadding(),
],