Unverified Commit c52715ae authored by Haelwenn's avatar Haelwenn

Conversation.qml: disable btnSend while uploading

parent 6f12bb0c
Pipeline #22100 passed with stage
in 1 minute and 14 seconds
......@@ -379,6 +379,7 @@ Page {
}
}
}
IconButton {
id: btnSend
icon.source: "image://theme/icon-m-enter?"
......@@ -388,7 +389,7 @@ Page {
right: parent.right
rightMargin: Theme.paddingLarge
}
enabled: toot.text !== "" && toot.text.length < tootMaxChar
enabled: toot.text !== "" && toot.text.length < tootMaxChar && uploadProgress.width == 0
onClicked: {
var visibility = ["public", "unlisted", "private", "direct"]
var media_ids = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment