From b8fbeb157f40cfc03f8f0453d50cec2bc17f11c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blak?= Date: Wed, 4 Sep 2024 19:02:49 +0200 Subject: [PATCH] CollectiblesSelectionAdaptor: use default token icon as a fallback --- .../Wallet/adaptors/CollectiblesSelectionAdaptor.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Wallet/adaptors/CollectiblesSelectionAdaptor.qml b/ui/app/AppLayouts/Wallet/adaptors/CollectiblesSelectionAdaptor.qml index e96d156be0..dc7bc5cf92 100644 --- a/ui/app/AppLayouts/Wallet/adaptors/CollectiblesSelectionAdaptor.qml +++ b/ui/app/AppLayouts/Wallet/adaptors/CollectiblesSelectionAdaptor.qml @@ -6,6 +6,8 @@ import StatusQ.Core.Utils 0.1 import SortFilterProxyModel 0.2 +import utils 1.0 + /** Adaptor transforming input flat model of collectibles into grouped model, grouped by communities and collections to form expected by components like @@ -78,7 +80,7 @@ QObject { readonly property string key: model.symbol readonly property url icon: - model.imageUrl || model.mediaUrl || Qt.resolvedUrl("") + model.imageUrl || model.mediaUrl || Style.png("tokens/DEFAULT-TOKEN") SortFilterProxyModel { /* 1 */ id: ownershipFiltered