summary refs log tree commit diff
path: root/resources/qml/delegates
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-09-11 00:29:23 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-09-11 00:29:23 +0200
commit12da7bd08cbe338e0ab7974a3a34dda4b9aa1964 (patch)
treea8d4de3af1b906919e0398f5cba68a202de9e6ec /resources/qml/delegates
parentFix sync with empty invite state (diff)
downloadnheko-12da7bd08cbe338e0ab7974a3a34dda4b9aa1964.tar.xz
Enable spoilers in replies
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r--resources/qml/delegates/TextMessage.qml2
1 files changed, 1 insertions, 1 deletions
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