Redaction code adjustments + theme addition

This commit is contained in:
miruka
2020-04-01 15:15:49 -04:00
parent e60a7f6dac
commit 05319af858
9 changed files with 50 additions and 33 deletions

View File

@@ -11,6 +11,10 @@ BoxPopup {
qsTr("Remove selected message?")
details.color: theme.colors.warningText
details.text:
onlyOwnMessageWarning ?
qsTr("Only your messages will be removed") :
""
HLabeledTextField {
id: reasonField
@@ -31,4 +35,5 @@ BoxPopup {
property string userId: ""
property var eventIds: []
property bool onlyOwnMessageWarning: false
}