diff --git a/lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart b/lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart index 37ad9717c..c480449c9 100644 --- a/lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart +++ b/lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart @@ -433,7 +433,7 @@ class _WalletNavigationBarState extends State { children: [ const Spacer(), SvgPicture.asset( - Assets.svg.buyDesktop, + Assets.svg.buy(context), width: 24, height: 24, ), diff --git a/lib/utilities/assets.dart b/lib/utilities/assets.dart index 24c1021f7..5a0427782 100644 --- a/lib/utilities/assets.dart +++ b/lib/utilities/assets.dart @@ -32,9 +32,8 @@ class _BUY { const _BUY(); // TODO: switch this to something like - // String buy(BuildContext context) => - // "assets/svg/${Theme.of(context).extension()!.themeType.name}/buy.svg"; - String get buy => "assets/svg/light/buy-coins-icon.svg"; + String buy(BuildContext context) => + "assets/svg/${Theme.of(context).extension()!.themeType.name}/buy-coins-icon.svg"; String simplexLogo(BuildContext context) { return (Theme.of(context).extension()!.themeType ==