mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
use LocationListenerCompat
This commit is contained in:
parent
fd0c8ef9b8
commit
d9d46236dc
2 changed files with 8 additions and 10 deletions
|
|
@ -605,5 +605,9 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
|
|||
|
||||
// Warn user if BLE device is selected but BLE disabled
|
||||
if (scanModel.selectedBluetooth) checkBTEnabled()
|
||||
|
||||
// Warn user if provide location is selected but location disabled
|
||||
if (binding.provideLocationCheckbox.isChecked)
|
||||
checkLocationEnabled(getString(R.string.location_disabled))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue