2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Improve archive chat list entry layout.

This commit is contained in:
John Preston
2019-04-23 16:29:23 +04:00
parent 2d1dcb36cb
commit 9ff02707bf
13 changed files with 291 additions and 50 deletions

View File

@@ -796,8 +796,8 @@ void PeerMenuAddMuteAction(
void ToggleHistoryArchived(not_null<History*> history, bool archived) {
const auto callback = [=] {
Ui::Toast::Show(lang(archived
? lng_chat_archived
: lng_chat_unarchived));
? lng_archived_added
: lng_archived_removed));
};
history->session().api().toggleHistoryArchived(
history,