Restore iOS 13 features commit

This commit is contained in:
Ilya Laktyushin
2019-10-23 16:42:40 +04:00
parent 61f71dfcb2
commit 279b1304c7
30 changed files with 4209 additions and 3831 deletions

View File

@@ -9,8 +9,9 @@ public final class GalleryControllerActionInteraction {
public let openHashtag: (String?, String) -> Void
public let openBotCommand: (String) -> Void
public let addContact: (String) -> Void
public init(openUrl: @escaping (String, Bool) -> Void, openUrlIn: @escaping (String) -> Void, openPeerMention: @escaping (String) -> Void, openPeer: @escaping (PeerId) -> Void, openHashtag: @escaping (String?, String) -> Void, openBotCommand: @escaping (String) -> Void, addContact: @escaping (String) -> Void) {
public let storeMediaPlaybackState: (MessageId, Double?) -> Void
public init(openUrl: @escaping (String, Bool) -> Void, openUrlIn: @escaping (String) -> Void, openPeerMention: @escaping (String) -> Void, openPeer: @escaping (PeerId) -> Void, openHashtag: @escaping (String?, String) -> Void, openBotCommand: @escaping (String) -> Void, addContact: @escaping (String) -> Void, storeMediaPlaybackState: @escaping (MessageId, Double?) -> Void) {
self.openUrl = openUrl
self.openUrlIn = openUrlIn
self.openPeerMention = openPeerMention
@@ -18,5 +19,6 @@ public final class GalleryControllerActionInteraction {
self.openHashtag = openHashtag
self.openBotCommand = openBotCommand
self.addContact = addContact
self.storeMediaPlaybackState = storeMediaPlaybackState
}
}