Update Conversation.qml

This commit is contained in:
molan-git 2020-01-29 22:22:19 +01:00 committed by GitHub
parent 6267c3e616
commit 68f0ab53f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,7 +182,6 @@ Page {
id: toot id: toot
anchors { anchors {
top: warningContent.bottom top: warningContent.bottom
topMargin: Theme.paddingMediummas
left: parent.left left: parent.left
right: parent.right right: parent.right
rightMargin: Theme.paddingMedium rightMargin: Theme.paddingMedium
@ -222,7 +221,9 @@ Page {
right: parent.right right: parent.right
rightMargin: Theme.paddingSmall rightMargin: Theme.paddingSmall
} }
icon.source: "../../qml/images/emojiselect.svg" icon.source: "../../qml/images/emojiselect.svg" + (pressed
? Theme.secondaryHighlightColor
: Theme.secondaryColor)
onClicked: pageStack.push(firstWizardPage) onClicked: pageStack.push(firstWizardPage)
} }
SilicaGridView { SilicaGridView {
@ -263,7 +264,6 @@ Page {
} }
} }
IconButton { IconButton {
id: btnContentWarning id: btnContentWarning
anchors { anchors {
verticalCenter: privacy.verticalCenter verticalCenter: privacy.verticalCenter
@ -323,7 +323,6 @@ Page {
id: privacy id: privacy
anchors { anchors {
top: toot.bottom top: toot.bottom
bottom: parent
//topMargin: -Theme.paddingSmall*2 //topMargin: -Theme.paddingSmall*2
left: btnAddImage.right left: btnAddImage.right
right: btnSend.left right: btnSend.left
@ -348,7 +347,7 @@ Page {
} }
enabled: toot.text !== "" && toot.text.length < tootMaxChar enabled: toot.text !== "" && toot.text.length < tootMaxChar
onClicked: { onClicked: {
var visibility = [ "public", "unlisted", "private", "direct"]; var visibility = [ "Public", "Unlisted", "Private", "Direct"];
var media_ids = []; var media_ids = [];
for(var k = 0; k < mediaModel.count; k++){ for(var k = 0; k < mediaModel.count; k++){
console.log(mediaModel.get(k).id) console.log(mediaModel.get(k).id)