status-desktop/ui/app/AppLayouts/Profile/controls/WalletAccountDelegate.qml

29 lines
552 B
QML
Raw Normal View History

2022-03-01 14:40:53 +00:00
import StatusQ.Components 0.1
import StatusQ.Core.Theme 0.1
import StatusQ.Core 0.1
StatusListItem {
signal goToAccountView()
2022-03-01 14:40:53 +00:00
property var account
2022-03-01 14:40:53 +00:00
title: account.name
subTitle: account.address
icon.isLetterIdenticon: true
icon.color: account.color
2022-03-01 14:40:53 +00:00
width: parent.width
leftPadding: 0
rightPadding: 0
components: [
StatusIcon {
icon: "chevron-down"
rotation: 270
color: Theme.palette.baseColor1
}
]
onClicked: {
goToAccountView()
}
2022-03-01 14:40:53 +00:00
}