fix: missing type and missing id

This commit is contained in:
Jonathan Rainville 2020-09-29 14:32:36 -04:00 committed by Iuri Matias
parent ba0af727dc
commit 1dfd16f83d
4 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import ../../status/libstatus/tokens
import ../../status/libstatus/wallet as status_wallet
import ../../status/libstatus/utils as status_utils
import ../../status/ens as status_ens
import web3/[ethtypes, conversions]
QtObject:
type UtilsView* = ref object of QObject

View File

@ -298,7 +298,7 @@ Rectangle {
x : Style.current.padding / 2
y: -height - Style.current.smallPadding
background: Rectangle {
visible: emojiSuggestions.emojis.length > 0
visible: !!emojiSuggestions.emojis && emojiSuggestions.emojis.length > 0
color: Style.current.secondaryBackground
border.width: 1
border.color: Style.current.borderSecondary

View File

@ -137,6 +137,7 @@ Item {
}
}
StatusRoundButton {
id: submitBtn
size: "medium"
icon.name: "arrow-right"
icon.width: 18

View File

@ -75,7 +75,7 @@ Item {
when: !!root.toAccount && root.toAccount.type === RecipientSelector.Type.Address
PropertyChanges {
target: txtToPrimary
text: root.toAccount ? root.toAccount.address : ""
text: root.toAccount ? root.toAccount.address || "" : ""
elide: Text.ElideMiddle
anchors.leftMargin: 190
anchors.right: parent.right