mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: remove provideLocationCheckbox gps_enabled requirement
This commit is contained in:
parent
372f33cd9e
commit
4359ec8779
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
|
|||
if (connected == MeshService.ConnectionState.DISCONNECTED)
|
||||
model.setOwner("")
|
||||
|
||||
if (requireContext().hasGps() && model.config.position.gpsEnabled) {
|
||||
if (requireContext().hasGps()) {
|
||||
binding.provideLocationCheckbox.isEnabled = true
|
||||
} else {
|
||||
binding.provideLocationCheckbox.isChecked = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue