summaryrefslogtreecommitdiffstats
path: root/resources/qml/MessageInput.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@ymail.com>2022-04-11 04:18:16 +0200
committerNicolas Werner <nicolas.werner@ymail.com>2022-04-23 03:10:25 +0200
commitc775a93f775dafcd53bce580f9c856eab4a17978 (patch)
tree2c36ca3f5c81523e422f5eaf68e4da64276da84b /resources/qml/MessageInput.qml
parent730327579399c62353fdbea492c067d816b08ec0 (diff)
Fix some qt6 issues
Diffstat (limited to 'resources/qml/MessageInput.qml')
-rw-r--r--resources/qml/MessageInput.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml
index 76c498d9..8950d48b 100644
--- a/resources/qml/MessageInput.qml
+++ b/resources/qml/MessageInput.qml
@@ -14,7 +14,7 @@ import im.nheko 1.0
Rectangle {
id: inputBar
- color: Nheko.colors.window
+ color: timelineRoot.palette.window
Layout.fillWidth: true
Layout.preferredHeight: row.implicitHeight
Layout.minimumHeight: 40
@@ -84,7 +84,7 @@ Rectangle {
Rectangle {
anchors.fill: parent
- color: Nheko.colors.window
+ color: timelineRoot.palette.window
visible: room && room.input.uploading
NhekoBusyIndicator {
@@ -137,8 +137,8 @@ Rectangle {
selectByMouse: true
placeholderText: qsTr("Write a message...")
- placeholderTextColor: Nheko.colors.buttonText
- color: Nheko.colors.text
+ placeholderTextColor: timelineRoot.palette.buttonText
+ color: timelineRoot.palette.text
width: textInput.width
verticalAlignment: TextEdit.AlignVCenter
wrapMode: TextEdit.Wrap
@@ -428,7 +428,7 @@ Rectangle {
StickerPicker {
id: stickerPopup
- colors: Nheko.colors
+ colors: timelineRoot.palette
}
}
@@ -471,7 +471,7 @@ Rectangle {
anchors.centerIn: parent
visible: room ? (!room.permissions.canSend(MtxEvent.TextMessage)) : false
text: qsTr("You don't have permission to send messages in this room")
- color: Nheko.colors.text
+ color: timelineRoot.palette.text
}
}