fix zero initial fee rates in RBF rate picker (#1585)

* fix zero initial fee rates in RBF rate picker

* fix for other settings page[skip ci]
This commit is contained in:
Serhii
2024-08-10 01:18:55 +03:00
committed by GitHub
parent acadee6ed5
commit 9c29dbd6fd
5 changed files with 19 additions and 7 deletions
+2 -2
View File
@@ -499,10 +499,10 @@ class _PickerState<Item> extends State<Picker<Item>> {
children: <Widget>[
Expanded(
child: Slider(
value: widget.sliderValue ?? 1,
value: widget.sliderValue == null || widget.sliderValue! < 1 ? 1 : widget.sliderValue!,
onChanged: isActivated ? widget.onSliderChanged : null,
min: widget.minValue ?? 1,
max: widget.maxValue ?? 100,
max: (widget.maxValue == null || widget.maxValue! < 1) ? 100 : widget.maxValue!,
divisions: 100,
),
),