mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-26 00:58:50 +00:00
update wallet_navigation_bar for buy and paynyms
TODO test mobile
This commit is contained in:
parent
ab1ff2604a
commit
9bfdfc01e4
1 changed files with 37 additions and 41 deletions
|
@ -412,17 +412,16 @@ class _WalletNavigationBarState extends State<WalletNavigationBar> {
|
|||
const SizedBox(
|
||||
width: 12,
|
||||
),
|
||||
),
|
||||
RawMaterialButton(
|
||||
constraints: const BoxConstraints(
|
||||
minWidth: 66,
|
||||
),
|
||||
onPressed: onExchangePressed,
|
||||
onPressed: widget.onBuyPressed,
|
||||
splashColor:
|
||||
Theme.of(context).extension<StackColors>()!.highlight,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(
|
||||
height / 2.0,
|
||||
widget.height / 2.0,
|
||||
),
|
||||
),
|
||||
child: Container(
|
||||
|
@ -434,8 +433,6 @@ class _WalletNavigationBarState extends State<WalletNavigationBar> {
|
|||
children: [
|
||||
const Spacer(),
|
||||
SvgPicture.asset(
|
||||
// Assets.svg.exchange(context),
|
||||
// TODO change icon
|
||||
Assets.svg.buyDesktop,
|
||||
width: 24,
|
||||
height: 24,
|
||||
|
@ -453,11 +450,10 @@ class _WalletNavigationBarState extends State<WalletNavigationBar> {
|
|||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(
|
||||
width: 12,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue