Swiftgram/submodules/AccountContext/Sources/ChatListController.swift
Ilya Laktyushin 45b123de45 Don't display "delete for everyone" on dices sent in previous 24 hours
Show single "Delete" button for "joined" and "deleted" peers
2020-07-28 17:02:31 +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)
}