mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add device location coordinate update throttling
This commit is contained in:
@@ -305,6 +305,8 @@ public final class LocationViewController: ViewController {
|
||||
|> deliverOnMainQueue).start(next: { coordinate in
|
||||
params.sendLiveLocation(TelegramMediaMap(coordinate: coordinate, liveBroadcastingTimeout: period))
|
||||
})
|
||||
|
||||
strongSelf.controllerNode.showAll()
|
||||
}
|
||||
|
||||
controller.setItemGroups([
|
||||
|
||||
Reference in New Issue
Block a user