Fixed range picker dialog

This commit is contained in:
Vadim 2023-09-02 20:42:34 +02:00
parent a976fcdaff
commit 79b9ae60c3

View file

@ -68,8 +68,8 @@ class _DialogRangePickerState<T extends PhotographyValue> extends State<DialogRa
divisions: widget.values.length - 1, divisions: widget.values.length - 1,
onChanged: (value) { onChanged: (value) {
setState(() { setState(() {
_start = value.start.toInt(); _start = value.start.round();
_end = value.end.toInt(); _end = value.end.round();
}); });
}, },
), ),