diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-05-13 08:23:56 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-05-13 08:23:56 +0200 |
commit | a7f8b23b524c5e3af72e42fde118706e94a454f3 (patch) | |
tree | c3918f64578ee97b89dba41ae169baea09a061e6 /resources/qml/ReplyPopup.qml | |
parent | Fix warning on gcc11 (diff) | |
download | nheko-a7f8b23b524c5e3af72e42fde118706e94a454f3.tar.xz |
Make palette global in Qml
Diffstat (limited to 'resources/qml/ReplyPopup.qml')
-rw-r--r-- | resources/qml/ReplyPopup.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/ReplyPopup.qml b/resources/qml/ReplyPopup.qml index 37b6f6cc..1d85acb0 100644 --- a/resources/qml/ReplyPopup.qml +++ b/resources/qml/ReplyPopup.qml @@ -17,7 +17,7 @@ Rectangle { visible: room && (room.reply || room.edit) // Height of child, plus margins, plus border implicitHeight: (room && room.reply ? replyPreview.height : closeEditButton.height) + 10 - color: colors.window + color: Nheko.colors.window z: 3 Reply { @@ -31,7 +31,7 @@ Rectangle { anchors.bottom: parent.bottom modelData: room ? room.getDump(room.reply, room.id) : { } - userColor: TimelineManager.userColor(modelData.userId, colors.window) + userColor: TimelineManager.userColor(modelData.userId, Nheko.colors.window) } ImageButton { |