summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2023-07-08 22:27:23 +0000
committerGitHub <noreply@github.com>2023-07-08 22:27:23 +0000
commit5abd4bb07a25dcd79c230203b86ff2590261aca2 (patch)
tree20e9357cc3ca9425fe544c5412b7068b94fe6c84
parentFocus to the message input bar after selecting a file (diff)
parentFix the color on the insufficient powerlevel warning (diff)
downloadnheko-5abd4bb07a25dcd79c230203b86ff2590261aca2.tar.xz
Merge pull request #1517 from Nheko-Reborn/fixMessagePowerlevelPlaceholder
Fix the color on the insufficient powerlevel warning
-rw-r--r--resources/qml/MessageInput.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml

index e196b06d..a1d3ac7b 100644 --- a/resources/qml/MessageInput.qml +++ b/resources/qml/MessageInput.qml
@@ -451,8 +451,9 @@ Rectangle { } } } - Text { + Label { anchors.centerIn: parent + color: palette.placeholderText text: qsTr("You don't have permission to send messages in this room") visible: room ? (!room.permissions.canSend(MtxEvent.TextMessage)) : false }