fix(@desktop/profile): display short address form in the profile showcase accounts tab

This commit is contained in:
Sale Djenic 2023-12-21 10:51:22 +01:00 committed by saledjenic
parent bc2642c5e8
commit 4c3c763c3a
1 changed files with 3 additions and 1 deletions

View File

@ -2,11 +2,13 @@ import QtQuick 2.15
import StatusQ.Core.Theme 0.1
import AppLayouts.Wallet 1.0
import utils 1.0
ShowcaseDelegate {
title: !!showcaseObj && !!showcaseObj.name ? showcaseObj.name : ""
secondaryTitle: !!showcaseObj && !!showcaseObj.address ? showcaseObj.address : ""
secondaryTitle: WalletUtils.addressToDisplay(!!showcaseObj && !!showcaseObj.address ? showcaseObj.address : "", "", true, containsMouse)
hasEmoji: !!showcaseObj && !!showcaseObj.emoji
hasIcon: !hasEmoji
icon.name: hasEmoji ? showcaseObj.emoji : "filled-account"