make MutableLiveData private

This commit is contained in:
andrekir 2022-04-22 17:22:06 -03:00
parent 25a67ec4b3
commit 8bde3d2ba4
4 changed files with 92 additions and 77 deletions

View file

@ -568,7 +568,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
binding.provideLocationCheckbox.visibility = if (isConnected) View.VISIBLE else View.GONE
if (connected == MeshService.ConnectionState.DISCONNECTED)
model.ownerName.value = ""
model.setOwner("")
// update the region selection from the device
val region = model.region