From 12da7bd08cbe338e0ab7974a3a34dda4b9aa1964 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 11 Sep 2022 00:29:23 +0200 Subject: [PATCH] Enable spoilers in replies --- resources/qml/delegates/TextMessage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml index 8ed7b29a..da1c66da 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml @@ -34,7 +34,7 @@ MatrixText { border: 1px solid " + Nheko.colors.text + "; } blockquote { margin-left: 1em; } - " + (enabled ? "span[data-mx-spoiler] { + " + (!Settings.mobileMode ? "span[data-mx-spoiler] { color: transparent; background-color: " + Nheko.colors.text + "; }" : "") + // TODO(Nico): Figure out how to support mobile