feat: add led_heartbeat_disabled config

This commit is contained in:
andrekir
2024-05-05 07:22:44 -03:00
parent ecd3be738b
commit 378c613233

View File

@@ -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,