feat: add device_logging_enabled config

This commit is contained in:
andrekir
2024-06-30 08:10:45 -03:00
parent 3454bae451
commit 40edec0a31

View File

@@ -64,6 +64,16 @@ fun BluetoothConfigItemList(
})
}
item {
SwitchPreference(title = "Device logging enabled",
checked = bluetoothInput.deviceLoggingEnabled,
enabled = enabled,
onCheckedChange = {
bluetoothInput = bluetoothInput.copy { deviceLoggingEnabled = it }
})
}
item { Divider() }
item {
PreferenceFooter(
enabled = bluetoothInput != bluetoothConfig,