frost display WU instead of vByte

This commit is contained in:
julian 2024-05-01 14:59:44 -06:00
parent ccca53f3d8
commit fc3ec6aa0a
2 changed files with 4 additions and 1 deletions

View file

@ -524,6 +524,7 @@ class _FrostSendViewState extends ConsumerState<FrostSendView> {
),
child: FeeSlider(
coin: coin,
showWU: true,
onSatVByteChanged: (rate) {
customFeeRate = rate;
},

View file

@ -9,9 +9,11 @@ class FeeSlider extends StatefulWidget {
super.key,
required this.onSatVByteChanged,
required this.coin,
this.showWU = false,
});
final Coin coin;
final bool showWU;
final void Function(int) onSatVByteChanged;
@override
@ -34,7 +36,7 @@ class _FeeSliderState extends State<FeeSlider> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
"sat/vByte",
widget.showWU ? "sat/WU" : "sat/vByte",
style: STextStyles.smallMed12(context),
),
Text(