From aba9aeaef2865b9206e85713abbda9dcdb85e625 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 21 Jun 2023 12:08:18 -0600 Subject: [PATCH] fix: desktop address book card coin icon --- .../subwidgets/desktop_address_card.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/pages_desktop_specific/address_book_view/subwidgets/desktop_address_card.dart b/lib/pages_desktop_specific/address_book_view/subwidgets/desktop_address_card.dart index cb570be90..fc626f290 100644 --- a/lib/pages_desktop_specific/address_book_view/subwidgets/desktop_address_card.dart +++ b/lib/pages_desktop_specific/address_book_view/subwidgets/desktop_address_card.dart @@ -8,6 +8,8 @@ * */ +import 'dart:io'; + import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; @@ -43,8 +45,10 @@ class DesktopAddressCard extends ConsumerWidget { return Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ - SvgPicture.asset( - ref.watch(coinIconProvider(entry.coin)), + SvgPicture.file( + File( + ref.watch(coinIconProvider(entry.coin)), + ), height: 32, width: 32, ),