Skip to content

Commit

Permalink
feat: add device_logging_enabled config
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir committed Jun 30, 2024
1 parent 3454bae commit 40edec0
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 40edec0

Please sign in to comment.