summary refs log tree commit diff
path: root/resources/qml/delegates
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-09-09 21:42:33 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2019-11-23 20:06:14 +0100
commita1c97fc8d6e6f835aab79e2f8e37ce8488bcb5b6 (patch)
treefe369fc94426f5e42ed29866e39a0bf617eb51bc /resources/qml/delegates
parentTry to fix duplicate messages in certain edge cases (i.e. sync and pagination... (diff)
downloadnheko-a1c97fc8d6e6f835aab79e2f8e37ce8488bcb5b6.tar.xz
Show redactions in qml timeline
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r--resources/qml/delegates/Redacted.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/resources/qml/delegates/Redacted.qml b/resources/qml/delegates/Redacted.qml
new file mode 100644

index 00000000..53e95a83 --- /dev/null +++ b/resources/qml/delegates/Redacted.qml
@@ -0,0 +1,15 @@ +import QtQuick 2.5 +import QtQuick.Controls 2.5 + +Label { + text: qsTr("redacted") + color: inactiveColors.text + horizontalAlignment: Text.AlignHCenter + + height: contentHeight * 1.2 + width: contentWidth * 1.2 + background: Rectangle { + radius: parent.height / 2 + color: colors.dark + } +}