This commit is contained in:
Isaac
2025-01-14 11:52:31 +08:00
parent ad0188f0ed
commit 22980d7c9a
36 changed files with 2699 additions and 583 deletions

View File

@@ -750,8 +750,12 @@ public final class TelegramRootController: NavigationController, TelegramRootCon
self.accountSettingsController?.openBirthdaySetup()
}
public func openPhotoSetup() {
self.accountSettingsController?.openAvatarSetup()
public func openPhotoSetup(completedWithUploadingImage: @escaping (UIImage, Signal<PeerInfoAvatarUploadStatus, NoError>) -> UIView?) {
self.accountSettingsController?.openAvatarSetup(completedWithUploadingImage: completedWithUploadingImage)
}
public func openAvatars() {
self.accountSettingsController?.openAvatars()
}
}