mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[Temp]
This commit is contained in:
@@ -953,6 +953,11 @@ public final class PeerInfoNavigationSourceTag {
|
||||
}
|
||||
}
|
||||
|
||||
public enum PeerInfoAvatarUploadStatus {
|
||||
case progress(Float)
|
||||
case done
|
||||
}
|
||||
|
||||
public protocol PeerInfoScreen: ViewController {
|
||||
var peerId: PeerId { get }
|
||||
var privacySettings: Promise<AccountPrivacySettings?> { get }
|
||||
@@ -961,7 +966,8 @@ public protocol PeerInfoScreen: ViewController {
|
||||
func toggleStorySelection(ids: [Int32], isSelected: Bool)
|
||||
func togglePaneIsReordering(isReordering: Bool)
|
||||
func cancelItemSelection()
|
||||
func openAvatarSetup()
|
||||
func openAvatarSetup(completedWithUploadingImage: @escaping (UIImage, Signal<PeerInfoAvatarUploadStatus, NoError>) -> UIView?)
|
||||
func openAvatars()
|
||||
}
|
||||
|
||||
public extension Peer {
|
||||
|
||||
Reference in New Issue
Block a user