From 3d2729ea467bf59bfed1522f17bf53841d140640 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 6 Jun 2021 17:29:25 +0300 Subject: Add an action to unarchive chats --- qml/ChatlistPage.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qml') diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml index 41c21b3..5390baa 100644 --- a/qml/ChatlistPage.qml +++ b/qml/ChatlistPage.qml @@ -171,6 +171,10 @@ Kirigami.ScrollablePage { text: "Archive chat" 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) -- cgit v1.2.3-70-g09d2