mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 02:24:30 +00:00
frost display WU instead of vByte
This commit is contained in:
parent
ccca53f3d8
commit
fc3ec6aa0a
2 changed files with 4 additions and 1 deletions
|
@ -524,6 +524,7 @@ class _FrostSendViewState extends ConsumerState<FrostSendView> {
|
|||
),
|
||||
child: FeeSlider(
|
||||
coin: coin,
|
||||
showWU: true,
|
||||
onSatVByteChanged: (rate) {
|
||||
customFeeRate = rate;
|
||||
},
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue