Skip to content

Commit 685ed2c

Browse files
committed
Fix device location request
1 parent b8b0836 commit 685ed2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

submodules/WebUI/Sources/WebAppController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2790,7 +2790,7 @@ public final class WebAppController: ViewController, AttachmentContainable {
27902790
}, openSettings: {
27912791
context.sharedContext.applicationBindings.openSettings()
27922792
}, { [weak self, weak controller] authorized in
2793-
guard let controller else {
2793+
guard let controller, authorized else {
27942794
return
27952795
}
27962796
let context = controller.context
@@ -2849,7 +2849,7 @@ public final class WebAppController: ViewController, AttachmentContainable {
28492849
TelegramEngine.EngineData.Item.Peer.Peer(id: context.account.peerId),
28502850
TelegramEngine.EngineData.Item.Peer.Peer(id: botId)
28512851
)
2852-
|> deliverOnMainQueue).start(next: { [weak self, weak controller] accountPeer, botPeer in
2852+
|> deliverOnMainQueue).start(next: { [weak self, weak controller] accountPeer, botPeer in
28532853
guard let accountPeer, let botPeer, let controller else {
28542854
return
28552855
}

0 commit comments

Comments
 (0)