Cleanup legacy location viewer & picker

This commit is contained in:
Ilya Laktyushin
2020-11-03 10:51:31 +04:00
parent 5547abb639
commit c392c94d9d
55 changed files with 39 additions and 11129 deletions

View File

@@ -17,6 +17,18 @@ import ContactsPeerItem
import ChatListSearchItemHeader
import ItemListUI
enum ParticipantRevealActionType {
case promote
case restrict
case remove
}
struct ParticipantRevealAction: Equatable {
let type: ItemListPeerItemRevealOptionType
let title: String
let action: ParticipantRevealActionType
}
public enum ChannelMembersSearchMode {
case searchMembers
case searchAdmins