mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add peer categories in members lists
This commit is contained in:
@@ -26,6 +26,7 @@ public enum ChatListSearchItemHeaderType {
|
||||
case activeVoiceChats
|
||||
case recentCalls
|
||||
case orImportIntoAnExistingGroup
|
||||
case subscribers
|
||||
|
||||
fileprivate func title(strings: PresentationStrings) -> String {
|
||||
switch self {
|
||||
@@ -71,6 +72,8 @@ public enum ChatListSearchItemHeaderType {
|
||||
return strings.CallList_RecentCallsHeader
|
||||
case .orImportIntoAnExistingGroup:
|
||||
return strings.ChatList_HeaderImportIntoAnExistingGroup
|
||||
case .subscribers:
|
||||
return strings.Channel_ChannelSubscribersHeader
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,6 +121,8 @@ public enum ChatListSearchItemHeaderType {
|
||||
return .recentCalls
|
||||
case .orImportIntoAnExistingGroup:
|
||||
return .orImportIntoAnExistingGroup
|
||||
case .subscribers:
|
||||
return .subscribers
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -148,6 +153,7 @@ private enum ChatListSearchItemHeaderId: Int32 {
|
||||
case activeVoiceChats
|
||||
case recentCalls
|
||||
case orImportIntoAnExistingGroup
|
||||
case subscribers
|
||||
}
|
||||
|
||||
public final class ChatListSearchItemHeader: ListViewItemHeader {
|
||||
|
||||
Reference in New Issue
Block a user