fix(@wallet): Always display snt/eth/dai

fixes #6160
This commit is contained in:
Anthony Laibe 2022-06-29 13:20:01 +02:00 committed by Anthony Laibe
parent ce7340b9a5
commit 9b298e4ace
1 changed files with 6 additions and 1 deletions

View File

@ -8,13 +8,18 @@ import shared.panels 1.0
Item { Item {
id: assetDelegate id: assetDelegate
QtObject {
id: _internal
readonly property var alwaysVisible : ["ETH", "SNT", "DAI", "STT"]
}
property string locale: "" property string locale: ""
property string currency: "" property string currency: ""
anchors.right: parent.right anchors.right: parent.right
anchors.left: parent.left anchors.left: parent.left
visible: networkVisible && enabledNetworkBalance > 0 visible: _internal.alwaysVisible.includes(symbol) || (networkVisible && enabledNetworkBalance > 0)
height: visible ? 40 + 2 * Style.current.padding : 0 height: visible ? 40 + 2 * Style.current.padding : 0