summary refs log tree commit diff
path: root/resources/qml/ReplyPopup.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-10-01 01:53:12 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-10-01 01:53:12 +0200
commit570d7b8b308152aa05d02071804eb46539fa17dd (patch)
tree13e7bc3d818ef140c346a9a7d2678e3158867586 /resources/qml/ReplyPopup.qml
parentRevert accidental animated image change (diff)
downloadnheko-570d7b8b308152aa05d02071804eb46539fa17dd.tar.xz
Prepare for adding proxy before chat.model
Diffstat (limited to 'resources/qml/ReplyPopup.qml')
-rw-r--r--resources/qml/ReplyPopup.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/ReplyPopup.qml b/resources/qml/ReplyPopup.qml
index ec1de346..82180eda 100644
--- a/resources/qml/ReplyPopup.qml
+++ b/resources/qml/ReplyPopup.qml
@@ -91,7 +91,7 @@ Rectangle {
         anchors.margins: 8
         anchors.top: parent.top
         hoverEnabled: true
-        buttonTextColor: TimelineManager.userColor(room.thread, Nheko.colors.base)
+        buttonTextColor: room ? TimelineManager.userColor(room.thread, Nheko.colors.base) : undefined
         image: ":/icons/icons/ui/dismiss_thread.svg"
         width: 22
         height: 22