Various improvements

This commit is contained in:
Ilya Laktyushin
2025-11-03 03:12:54 +04:00
parent a1c33e1884
commit 2f3cf25666
16 changed files with 292 additions and 136 deletions

View File

@@ -3983,8 +3983,8 @@ public final class SharedAccountContextImpl: SharedAccountContext {
return ChannelMembersSearchControllerImpl(params: params)
}
public func makeNewContactScreen(context: AccountContext, peer: EnginePeer?, phoneNumber: String?, completion: @escaping (EnginePeer?, DeviceContactStableId?, DeviceContactExtendedData?) -> Void) -> ViewController {
return NewContactScreen(context: context, initialData: NewContactScreen.initialData(peer: peer, phoneNumber: phoneNumber), completion: completion)
public func makeNewContactScreen(context: AccountContext, peer: EnginePeer?, phoneNumber: String?, shareViaException: Bool, completion: @escaping (EnginePeer?, DeviceContactStableId?, DeviceContactExtendedData?) -> Void) -> ViewController {
return NewContactScreen(context: context, initialData: NewContactScreen.initialData(peer: peer, phoneNumber: phoneNumber, shareViaException: shareViaException), completion: completion)
}
}