mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Fix device location request
This commit is contained in:
@@ -2790,7 +2790,7 @@ public final class WebAppController: ViewController, AttachmentContainable {
|
||||
}, openSettings: {
|
||||
context.sharedContext.applicationBindings.openSettings()
|
||||
}, { [weak self, weak controller] authorized in
|
||||
guard let controller else {
|
||||
guard let controller, authorized else {
|
||||
return
|
||||
}
|
||||
let context = controller.context
|
||||
@@ -2849,7 +2849,7 @@ public final class WebAppController: ViewController, AttachmentContainable {
|
||||
TelegramEngine.EngineData.Item.Peer.Peer(id: context.account.peerId),
|
||||
TelegramEngine.EngineData.Item.Peer.Peer(id: botId)
|
||||
)
|
||||
|> deliverOnMainQueue).start(next: { [weak self, weak controller] accountPeer, botPeer in
|
||||
|> deliverOnMainQueue).start(next: { [weak self, weak controller] accountPeer, botPeer in
|
||||
guard let accountPeer, let botPeer, let controller else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user