mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix device location request
This commit is contained in:
parent
b8b0836d75
commit
685ed2cc9e
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue