mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-20 06:08:34 +02:00
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:
@@ -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,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user