mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Fix schedule until online when the recipient is already online
This commit is contained in:
@@ -33,6 +33,7 @@ public final class LocationManager: NSObject, CLLocationManagerDelegate {
|
||||
public func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
|
||||
if let (pendingCompletion, _) = self.pendingCompletion {
|
||||
pendingCompletion(status)
|
||||
self.pendingCompletion = nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user