mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
disable ownerName text input if isNullOrEmpty
This commit is contained in:
parent
9cdaf6f79a
commit
c368c1b562
1 changed files with 1 additions and 0 deletions
|
|
@ -239,6 +239,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
|
|||
}
|
||||
|
||||
model.ownerName.observe(viewLifecycleOwner) { name ->
|
||||
binding.usernameEditText.isEnabled = !name.isNullOrEmpty()
|
||||
binding.usernameEditText.setText(name)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue