Peer selection improvements

This commit is contained in:
Ilya Laktyushin
2023-01-06 13:12:53 +04:00
parent 8b7d9fe053
commit 45f8fe5425
30 changed files with 1176 additions and 81 deletions

View File

@@ -14,12 +14,14 @@ public struct ChatListNodeAdditionalCategory {
public var id: Int
public var icon: UIImage?
public var smallIcon: UIImage?
public var title: String
public var appearance: Appearance
public init(id: Int, icon: UIImage?, title: String, appearance: Appearance = .option) {
public init(id: Int, icon: UIImage?, smallIcon: UIImage?, title: String, appearance: Appearance = .option) {
self.id = id
self.icon = icon
self.smallIcon = smallIcon
self.title = title
self.appearance = appearance
}