Various fixes

This commit is contained in:
Ilya Laktyushin
2023-06-29 23:04:16 +02:00
parent 3b6c81e9b1
commit b7068142ec
3 changed files with 9 additions and 4 deletions

View File

@@ -2683,7 +2683,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
}
})))
items.append(.action(ContextMenuActionItem(text: "Move to Contacts", icon: { theme in
items.append(.action(ContextMenuActionItem(text: "Hide \(peer.compactDisplayTitle)", icon: { theme in
return generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/MoveToContacts"), color: theme.contextMenu.primaryColor)
}, action: { [weak self] _, f in
f(.dismissWithoutContent)