mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
fix buy image in wallet view on mobile
This commit is contained in:
parent
58ea92fd5a
commit
957b9cb6a3
2 changed files with 3 additions and 4 deletions
|
@ -433,7 +433,7 @@ class _WalletNavigationBarState extends State<WalletNavigationBar> {
|
|||
children: [
|
||||
const Spacer(),
|
||||
SvgPicture.asset(
|
||||
Assets.svg.buyDesktop,
|
||||
Assets.svg.buy(context),
|
||||
width: 24,
|
||||
height: 24,
|
||||
),
|
||||
|
|
|
@ -32,9 +32,8 @@ class _BUY {
|
|||
const _BUY();
|
||||
|
||||
// TODO: switch this to something like
|
||||
// String buy(BuildContext context) =>
|
||||
// "assets/svg/${Theme.of(context).extension<StackColors>()!.themeType.name}/buy.svg";
|
||||
String get buy => "assets/svg/light/buy-coins-icon.svg";
|
||||
String buy(BuildContext context) =>
|
||||
"assets/svg/${Theme.of(context).extension<StackColors>()!.themeType.name}/buy-coins-icon.svg";
|
||||
|
||||
String simplexLogo(BuildContext context) {
|
||||
return (Theme.of(context).extension<StackColors>()!.themeType ==
|
||||
|
|
Loading…
Reference in a new issue