Fix updating lastLocation
This commit is contained in:
parent
db11fb6181
commit
3d2c045b3a
1 changed files with 1 additions and 1 deletions
|
@ -68,12 +68,12 @@ class ShareLocationHelper(private val app: TelegramApplication) {
|
|||
|
||||
if (record) {
|
||||
lastLocationUpdateTime = System.currentTimeMillis()
|
||||
lastLocation = location
|
||||
if (app.settings.getChatsShareInfo().isNotEmpty()) {
|
||||
shareLocationMessages(location, app.telegramHelper.getCurrentUserId())
|
||||
}
|
||||
}
|
||||
}
|
||||
lastLocation = location
|
||||
app.settings.updateSharingStatusHistory()
|
||||
refreshNotification()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue