Swiftgram/submodules/AccountContext/Sources/ChatListController.swift
Ilya Laktyushin 214f5a682f Apply fixes
2020-07-30 12:23:25 +03:00

15 lines
467 B
Swift

import Foundation
import UIKit
import Postbox
import Display
public protocol ChatListController: ViewController {
var context: AccountContext { get }
var lockViewFrame: CGRect? { get }
func activateSearch()
func deactivateSearch(animated: Bool)
func activateCompose()
func maybeAskForPeerChatRemoval(peer: RenderedPeer, joined: Bool, deleteGloballyIfPossible: Bool, completion: @escaping (Bool) -> Void, removed: @escaping () -> Void)
}