From aa07ba639bbad26ce5864382fb3e1ee3b0204ef3 Mon Sep 17 00:00:00 2001 From: ryleedavis Date: Tue, 25 Apr 2023 16:09:45 -0600 Subject: [PATCH] replace stack images --- lib/pages/intro_view.dart | 7 +++++-- lib/pages/wallets_view/sub_widgets/empty_wallets.dart | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/pages/intro_view.dart b/lib/pages/intro_view.dart index 909feb6f4..66202f5b7 100644 --- a/lib/pages/intro_view.dart +++ b/lib/pages/intro_view.dart @@ -5,7 +5,6 @@ import 'package:flutter_svg/svg.dart'; import 'package:stackwallet/pages/stack_privacy_calls.dart'; import 'package:stackwallet/pages_desktop_specific/password/create_password_view.dart'; import 'package:stackwallet/themes/theme_providers.dart'; -import 'package:stackwallet/utilities/assets.dart'; import 'package:stackwallet/utilities/prefs.dart'; import 'package:stackwallet/utilities/text_styles.dart'; import 'package:stackwallet/utilities/theme/stack_colors.dart'; @@ -55,7 +54,11 @@ class _IntroViewState extends ConsumerState { maxWidth: 300, ), child: SvgPicture.asset( - Assets.svg.stack(context), + ref.watch( + themeProvider.select( + (value) => value.assets.stack, + ), + ), width: isDesktop ? 324 : 266, height: isDesktop ? 324 : 266, ), diff --git a/lib/pages/wallets_view/sub_widgets/empty_wallets.dart b/lib/pages/wallets_view/sub_widgets/empty_wallets.dart index 4cc92ca89..6a5839c09 100644 --- a/lib/pages/wallets_view/sub_widgets/empty_wallets.dart +++ b/lib/pages/wallets_view/sub_widgets/empty_wallets.dart @@ -39,7 +39,11 @@ class EmptyWallets extends ConsumerWidget { flex: 2, ), SvgPicture.asset( - Assets.svg.stack(context), + ref.watch( + themeProvider.select( + (value) => value.assets.stack, + ), + ), width: isDesktop ? 324 : MediaQuery.of(context).size.width / 3, ), SizedBox(