From 9b298e4ace8a8adff3e439270b14810e6649334e Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Wed, 29 Jun 2022 13:20:01 +0200 Subject: [PATCH] fix(@wallet): Always display snt/eth/dai fixes #6160 --- ui/imports/shared/controls/AssetDelegate.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/imports/shared/controls/AssetDelegate.qml b/ui/imports/shared/controls/AssetDelegate.qml index ba9ef58658..421ef1b7b2 100644 --- a/ui/imports/shared/controls/AssetDelegate.qml +++ b/ui/imports/shared/controls/AssetDelegate.qml @@ -8,13 +8,18 @@ import shared.panels 1.0 Item { id: assetDelegate + QtObject { + id: _internal + readonly property var alwaysVisible : ["ETH", "SNT", "DAI", "STT"] + } + property string locale: "" property string currency: "" anchors.right: parent.right anchors.left: parent.left - visible: networkVisible && enabledNetworkBalance > 0 + visible: _internal.alwaysVisible.includes(symbol) || (networkVisible && enabledNetworkBalance > 0) height: visible ? 40 + 2 * Style.current.padding : 0