use LocationListenerCompat

This commit is contained in:
andrekir 2022-09-12 18:20:36 -03:00
parent fd0c8ef9b8
commit d9d46236dc
2 changed files with 8 additions and 10 deletions

View file

@ -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))
}
}