mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix channel setting
This commit is contained in:
parent
d15ff7ed36
commit
390413bd8a
3 changed files with 14 additions and 3 deletions
|
|
@ -78,7 +78,6 @@ class ChannelFragment : ScreenFragment("Channel"), Logging {
|
|||
|
||||
/// Pull the latest data from the model (discarding any user edits)
|
||||
private fun setGUIfromModel() {
|
||||
val radioConfig = model.radioConfig.value
|
||||
val channels = model.channels.value
|
||||
|
||||
binding.editableCheckbox.isChecked = false // start locked
|
||||
|
|
@ -231,7 +230,7 @@ class ChannelFragment : ScreenFragment("Channel"), Logging {
|
|||
shareChannel()
|
||||
}
|
||||
|
||||
model.radioConfig.observe(viewLifecycleOwner, {
|
||||
model.channels.observe(viewLifecycleOwner, {
|
||||
setGUIfromModel()
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue