Changed send, content warning and add emoji icon in Conversation page for clarification
This commit is contained in:
molan-git 2020-01-15 21:22:18 +00:00 committed by GitHub
parent 6348b08106
commit eae2cf989b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -222,7 +222,7 @@ Page {
right: parent.right right: parent.right
rightMargin: Theme.paddingSmall rightMargin: Theme.paddingSmall
} }
icon.source: "image://theme/icon-s-mms?" + (pressed icon.source: "image://theme/icon-s-edit?" + (pressed
? Theme.highlightColor ? Theme.highlightColor
: (warningContent.visible ? Theme.secondaryHighlightColor : Theme.primaryColor)) : (warningContent.visible ? Theme.secondaryHighlightColor : Theme.primaryColor))
onClicked: pageStack.push(firstWizardPage) onClicked: pageStack.push(firstWizardPage)
@ -272,7 +272,7 @@ Page {
left: parent.left left: parent.left
leftMargin: Theme.paddingMedium leftMargin: Theme.paddingMedium
} }
icon.source: "image://theme/icon-s-high-importance?" + (pressed icon.source: "image://theme/icon-s-warning?" + (pressed
? Theme.highlightColor ? Theme.highlightColor
: (warningContent.visible ? Theme.secondaryHighlightColor : Theme.primaryColor)) : (warningContent.visible ? Theme.secondaryHighlightColor : Theme.primaryColor))
onClicked: warningContent.visible = !warningContent.visible onClicked: warningContent.visible = !warningContent.visible
@ -345,7 +345,7 @@ Page {
} }
IconButton { IconButton {
id: btnSend id: btnSend
icon.source: "image://theme/icon-m-enter?" + (pressed icon.source: "image://theme/icon-m-send?" + (pressed
? Theme.highlightColor ? Theme.highlightColor
: Theme.primaryColor) : Theme.primaryColor)
anchors { anchors {