Stop showing location before updating appToConnectPackage

This commit is contained in:
Alex Sytnyk 2018-09-06 18:32:45 +03:00
parent 92da7ee8a9
commit 3999c160a7

View file

@ -179,8 +179,8 @@ class TelegramSettings(private val app: TelegramApplication) {
}
fun updateAppToConnect(appToConnectPackage: String) {
this.appToConnectPackage = appToConnectPackage
app.showLocationHelper.stopShowingLocation()
this.appToConnectPackage = appToConnectPackage
app.osmandAidlHelper.reconnectOsmand()
}