fix(@desktop/keycard/wallet): Small fixes (#10949)

This commit is contained in:
Cuteivist 2023-06-07 10:38:44 +02:00 committed by GitHub
parent e19105d878
commit a0146014d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -195,9 +195,9 @@ StatusListItem {
name: {
switch(root.transactionType) {
case TransactionDelegate.TransactionType.Send:
return "receive"
case TransactionDelegate.TransactionType.Receive:
return "send"
case TransactionDelegate.TransactionType.Receive:
return "receive"
case TransactionDelegate.TransactionType.Buy:
case TransactionDelegate.TransactionType.Sell:
return "token"

View File

@ -89,6 +89,7 @@ Item {
id: confirmation
Layout.preferredHeight: Constants.keycard.general.messageHeight
Layout.alignment: Qt.AlignCenter
Layout.fillWidth: true
leftSide: false
spacing: Style.current.smallPadding
font.pixelSize: Constants.keycard.general.fontSize2