Bind spoiler revealed state
This commit is contained in:
committed by
Smitty van Bodegom
parent
8474136f57
commit
680b0cc3bd
@@ -17,6 +17,7 @@ TextEdit {
|
||||
property bool isEmote: false
|
||||
property string textMessage: model.display
|
||||
property bool spoilerRevealed: !hasSpoiler.test(textMessage)
|
||||
ListView.onReused: Qt.binding(() => !hasSpoiler.test(textMessage))
|
||||
|
||||
text: "<style>
|
||||
table {
|
||||
|
||||
Reference in New Issue
Block a user