mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
fixed profile selection
This commit is contained in:
parent
1b52b1abf5
commit
21c1d94af7
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ class ReadingsContainer extends StatelessWidget {
|
||||||
_EquipmentProfilePicker(
|
_EquipmentProfilePicker(
|
||||||
selectedValue: EquipmentProfile.of(context)!,
|
selectedValue: EquipmentProfile.of(context)!,
|
||||||
values: EquipmentProfiles.of(context)!,
|
values: EquipmentProfiles.of(context)!,
|
||||||
onChanged: (value) {},
|
onChanged: (value) {
|
||||||
|
EquipmentProfileProvider.of(context).setProfile(value);
|
||||||
|
onEquipmentProfileChanged(value);
|
||||||
|
},
|
||||||
),
|
),
|
||||||
const _InnerPadding(),
|
const _InnerPadding(),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue