Hide new message bar in channels

This commit is contained in:
Sebastian J. Wolf 2020-08-30 11:12:13 +02:00
parent 138db9e78e
commit a6768bc9dd

View file

@ -252,7 +252,7 @@ Page {
Item { Item {
id: chatViewItem id: chatViewItem
width: parent.width width: parent.width
height: parent.height - ( 2 * Theme.paddingMedium ) - headerRow.height - newMessageColumn.height height: parent.height - Theme.paddingMedium - headerRow.height - ( chatPage.isChannel ? 0 : ( newMessageColumn.height + Theme.paddingMedium ) )
Timer { Timer {
id: chatViewLoadingTimer id: chatViewLoadingTimer
@ -552,6 +552,7 @@ Page {
spacing: Theme.paddingMedium spacing: Theme.paddingMedium
width: parent.width - ( 2 * Theme.horizontalPageMargin ) width: parent.width - ( 2 * Theme.horizontalPageMargin )
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
visible: !chatPage.isChannel
property string replyToMessageId: "0"; property string replyToMessageId: "0";