mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
move location service to repository
This commit is contained in:
parent
d50e9e1644
commit
6bda993851
8 changed files with 160 additions and 222 deletions
|
|
@ -826,7 +826,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
|
|||
debug("User changed location tracking to $isChecked")
|
||||
model.provideLocation.value = isChecked
|
||||
checkLocationEnabled(getString(R.string.location_disabled))
|
||||
model.meshService?.setupProvideLocation()
|
||||
model.meshService?.startProvideLocation()
|
||||
}
|
||||
} else {
|
||||
model.provideLocation.value = isChecked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue