update wallet_navigation_bar for buy and paynyms

TODO test mobile
This commit is contained in:
sneurlax 2023-01-24 13:27:39 -06:00
parent ab1ff2604a
commit 9bfdfc01e4

View file

@ -412,17 +412,16 @@ class _WalletNavigationBarState extends State<WalletNavigationBar> {
const SizedBox( const SizedBox(
width: 12, width: 12,
), ),
),
RawMaterialButton( RawMaterialButton(
constraints: const BoxConstraints( constraints: const BoxConstraints(
minWidth: 66, minWidth: 66,
), ),
onPressed: onExchangePressed, onPressed: widget.onBuyPressed,
splashColor: splashColor:
Theme.of(context).extension<StackColors>()!.highlight, Theme.of(context).extension<StackColors>()!.highlight,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular( borderRadius: BorderRadius.circular(
height / 2.0, widget.height / 2.0,
), ),
), ),
child: Container( child: Container(
@ -434,8 +433,6 @@ class _WalletNavigationBarState extends State<WalletNavigationBar> {
children: [ children: [
const Spacer(), const Spacer(),
SvgPicture.asset( SvgPicture.asset(
// Assets.svg.exchange(context),
// TODO change icon
Assets.svg.buyDesktop, Assets.svg.buyDesktop,
width: 24, width: 24,
height: 24, height: 24,
@ -453,11 +450,10 @@ class _WalletNavigationBarState extends State<WalletNavigationBar> {
), ),
), ),
), ),
const SizedBox(
width: 12,
),
], ],
), ),
),
),
], ],
); );
} }