From 570d7b8b308152aa05d02071804eb46539fa17dd Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 1 Oct 2022 01:53:12 +0200 Subject: Prepare for adding proxy before chat.model --- resources/qml/ReplyPopup.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/qml/ReplyPopup.qml') 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 -- cgit 1.5.1