mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Re-implement external sharing to secret chats
This commit is contained in:
parent
6e60c784b7
commit
21af13cfdb
12 changed files with 565 additions and 102 deletions
|
|
@ -971,9 +971,6 @@ public final class ShareController: ViewController {
|
|||
if self.environment.isMainApp {
|
||||
useLegacy = true
|
||||
}
|
||||
if peerIds.contains(where: { $0.namespace == Namespaces.Peer.SecretChat }) {
|
||||
useLegacy = true
|
||||
}
|
||||
if let currentContext = self.currentContext as? ShareControllerAppAccountContext, let data = currentContext.context.currentAppConfiguration.with({ $0 }).data {
|
||||
if let _ = data["ios_disable_modern_sharing"] {
|
||||
useLegacy = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue