mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor(config): improve null node handling
This commit is contained in:
parent
a8d14b5288
commit
4e75a0c879
2 changed files with 7 additions and 7 deletions
|
|
@ -751,7 +751,6 @@ class MainActivity : AppCompatActivity(), Logging {
|
|||
return true
|
||||
}
|
||||
R.id.radio_config -> {
|
||||
if (model.ourNodeInfo.value == null) return true
|
||||
model.setDestNode(null)
|
||||
supportFragmentManager.beginTransaction()
|
||||
.add(R.id.mainActivityLayout, DeviceSettingsFragment())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue