no message

This commit is contained in:
Peter
2017-10-03 15:57:32 +03:00
parent 46295401ff
commit 0f26dc36a7
134 changed files with 2079 additions and 1058 deletions

View File

@@ -184,7 +184,7 @@ public class ChatListController: TelegramController, UIViewControllerPreviewingD
self.chatListDisplayNode.chatListNode.deletePeerChat = { [weak self] peerId in
if let strongSelf = self {
let actionSheet = ActionSheetController()
let actionSheet = ActionSheetController(presentationTheme: strongSelf.presentationData.theme)
actionSheet.setItemGroups([ActionSheetItemGroup(items: [
ActionSheetButtonItem(title: strongSelf.presentationData.strings.Common_Delete, color: .destructive, action: { [weak actionSheet] in
actionSheet?.dismissAnimated()