fix: fix color and warning

This commit is contained in:
Jonathan Rainville 2020-09-23 17:11:57 -04:00 committed by Iuri Matias
parent 9d356fc4f7
commit 88de02b1dc
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ ModalPopup {
} }
showCheckbox: selectChatMembers && memberCount < maxMembers showCheckbox: selectChatMembers && memberCount < maxMembers
pubKey: model.pubKey pubKey: model.pubKey
isContact: model.isContact isContact: !!model.isContact
isUser: model.isUser isUser: model.isUser
name: !model.name.endsWith(".eth") && !!model.localNickname ? name: !model.name.endsWith(".eth") && !!model.localNickname ?
model.localNickname : Utils.removeStatusEns(model.name) model.localNickname : Utils.removeStatusEns(model.name)

View File

@ -15,7 +15,7 @@ Repeater {
width: parent.width - Style.current.padding width: parent.width - Style.current.padding
height: childrenRect.height height: childrenRect.height
Text { StyledText {
id: sectionTitle id: sectionTitle
text: modelData.name text: modelData.name
font.bold: true font.bold: true