mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: add tls_enabled config
This commit is contained in:
parent
242f13f1f8
commit
189e9aeee4
1 changed files with 8 additions and 0 deletions
|
|
@ -121,6 +121,14 @@ fun ModuleSettingsItemList(viewModel: UIViewModel = viewModel()) {
|
|||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
SwitchPreference(title = "TLS enabled",
|
||||
checked = mqttInput.tlsEnabled,
|
||||
enabled = connected,
|
||||
onCheckedChange = { mqttInput = mqttInput.copy { tlsEnabled = it } })
|
||||
}
|
||||
item { Divider() }
|
||||
|
||||
item {
|
||||
PreferenceFooter(
|
||||
enabled = mqttInput != moduleConfig.mqtt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue