mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10:40 +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(
|
||||
selectedValue: EquipmentProfile.of(context)!,
|
||||
values: EquipmentProfiles.of(context)!,
|
||||
onChanged: (value) {},
|
||||
onChanged: (value) {
|
||||
EquipmentProfileProvider.of(context).setProfile(value);
|
||||
onEquipmentProfileChanged(value);
|
||||
},
|
||||
),
|
||||
const _InnerPadding(),
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue