mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 01:27:25 +00:00
fix(@desktop/profile): display short address form in the profile showcase accounts tab
This commit is contained in:
parent
bc2642c5e8
commit
4c3c763c3a
@ -2,11 +2,13 @@ import QtQuick 2.15
|
|||||||
|
|
||||||
import StatusQ.Core.Theme 0.1
|
import StatusQ.Core.Theme 0.1
|
||||||
|
|
||||||
|
import AppLayouts.Wallet 1.0
|
||||||
|
|
||||||
import utils 1.0
|
import utils 1.0
|
||||||
|
|
||||||
ShowcaseDelegate {
|
ShowcaseDelegate {
|
||||||
title: !!showcaseObj && !!showcaseObj.name ? showcaseObj.name : ""
|
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
|
hasEmoji: !!showcaseObj && !!showcaseObj.emoji
|
||||||
hasIcon: !hasEmoji
|
hasIcon: !hasEmoji
|
||||||
icon.name: hasEmoji ? showcaseObj.emoji : "filled-account"
|
icon.name: hasEmoji ? showcaseObj.emoji : "filled-account"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user