Merge pull request #1517 from Nheko-Reborn/fixMessagePowerlevelPlaceholder

Fix the color on the insufficient powerlevel warning
This commit is contained in:
DeepBlueV7.X 2023-07-08 22:27:23 +00:00 committed by GitHub
commit 5abd4bb07a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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