Skip to content

Commit

Permalink
changed from 0 to 1 in trackPosition method (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaris13 authored Dec 16, 2024
1 parent 891cea6 commit 0fb78db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ class ITMGeolocationManager(private var context: Context, private val errorHandl
ensureLocationAvailability()
getWatchIds {
it.add(positionId)
if (it.size == 0) {
if (it.size == 1) {
requestLocationUpdates()
}
}
Expand Down

0 comments on commit 0fb78db

Please sign in to comment.