aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatlistPage.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-06-06 17:29:25 +0300
committerlink2xt <link2xt@testrun.org>2021-06-06 17:29:25 +0300
commit3d2729ea467bf59bfed1522f17bf53841d140640 (patch)
tree5d756dab0508913766b29e5db7543b29e29b4d98 /qml/ChatlistPage.qml
parent239a7327c3a12d782daf78462057fab59f0b85fd (diff)
downloadkdeltachat-3d2729ea467bf59bfed1522f17bf53841d140640.tar.gz
kdeltachat-3d2729ea467bf59bfed1522f17bf53841d140640.zip
Add an action to unarchive chats
Diffstat (limited to 'qml/ChatlistPage.qml')
-rw-r--r--qml/ChatlistPage.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml
index 41c21b3..5390baa 100644
--- a/qml/ChatlistPage.qml
+++ b/qml/ChatlistPage.qml
@@ -172,6 +172,10 @@ Kirigami.ScrollablePage {
onTriggered: chatlistPage.context.setChatVisibility(model.chatId, 1)
}
Action {
+ text: "Unarchive chat"
+ onTriggered: chatlistPage.context.setChatVisibility(model.chatId, 0)
+ }
+ Action {
text: "Delete chat"
onTriggered: chatlistPage.context.deleteChat(model.chatId)
}