mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: add led_heartbeat_disabled config
This commit is contained in:
parent
ecd3be738b
commit
378c613233
1 changed files with 10 additions and 0 deletions
|
|
@ -151,6 +151,16 @@ fun DeviceConfigItemList(
|
|||
)
|
||||
}
|
||||
|
||||
item {
|
||||
SwitchPreference(title = "Disable LED heartbeat",
|
||||
checked = deviceInput.ledHeartbeatDisabled,
|
||||
enabled = enabled,
|
||||
onCheckedChange = {
|
||||
deviceInput = deviceInput.copy { ledHeartbeatDisabled = it }
|
||||
})
|
||||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
PreferenceFooter(
|
||||
enabled = deviceInput != deviceConfig,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue