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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user