fix: assets display

This commit is contained in:
julian 2023-05-19 13:42:11 -06:00
parent b7bb62653e
commit 5acf74e260
2 changed files with 3 additions and 3 deletions

View file

@ -63,8 +63,8 @@ class DesktopBuyIcon extends ConsumerWidget {
@override @override
Widget build(BuildContext context, WidgetRef ref) { Widget build(BuildContext context, WidgetRef ref) {
return SvgPicture.asset( return SvgPicture.file(
ref.watch(themeProvider.select((value) => value.assets.buy)), File(ref.watch(themeAssetsProvider).buy),
width: 20, width: 20,
height: 20, height: 20,
color: DesktopMenuItemId.buy == color: DesktopMenuItemId.buy ==

View file

@ -193,7 +193,7 @@ class _SVG {
String get exchange3 => "assets/svg/exchange-3.svg"; String get exchange3 => "assets/svg/exchange-3.svg";
String get messageQuestion => "assets/svg/message-question-1.svg"; String get messageQuestion => "assets/svg/message-question-1.svg";
String get list => "assets/svg/list-ul.svg"; String get list => "assets/svg/list-ul.svg";
String get unclaimedPaynym => "assets/svg/unclaimed.png"; String get unclaimedPaynym => "assets/svg/unclaimed.svg";
String get trocadorRatingA => "assets/svg/trocador_rating_a.svg"; String get trocadorRatingA => "assets/svg/trocador_rating_a.svg";
String get trocadorRatingB => "assets/svg/trocador_rating_b.svg"; String get trocadorRatingB => "assets/svg/trocador_rating_b.svg";