fix: tweak copy

Signed-off-by: Michael Nahkies <michael@nahkies.co.nz>
pull/695/head
Michael Nahkies 3 months ago
parent d6102c75de
commit 0603fee2a3

@ -110,12 +110,10 @@ fun SettingsView(
Lists.ItemDivider() Lists.ItemDivider()
Setting.Switch( Setting.Switch(
R.string.client_remote_logging_enabled, R.string.client_remote_logging_enabled,
subtitle = stringResource(R.string.client_remote_logging_enabled_subtitle), subtitle = stringResource(R.string.client_remote_logging_enabled_subtitle),
isOn = isClientRemoteLoggingEnabled, isOn = isClientRemoteLoggingEnabled,
onToggle = { onToggle = { viewModel.toggleIsClientRemoteLoggingEnabled() })
viewModel.toggleIsClientRemoteLoggingEnabled()
})
if (!AndroidTVUtil.isAndroidTV()) { if (!AndroidTVUtil.isAndroidTV()) {
Lists.ItemDivider() Lists.ItemDivider()
@ -201,12 +199,12 @@ object Setting {
}, },
supportingContent = supportingContent =
subtitle?.let { subtitle?.let {
{ {
Text( Text(
it, it,
style = MaterialTheme.typography.bodySmall, style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onSurfaceVariant) color = MaterialTheme.colorScheme.onSurfaceVariant)
} }
}, },
trailingContent = { trailingContent = {
TintedSwitch(checked = isOn, onCheckedChange = onToggle, enabled = enabled) TintedSwitch(checked = isOn, onCheckedChange = onToggle, enabled = enabled)

@ -347,7 +347,7 @@
<string name="use_tailscale_subnets_subtitle">Route traffic according to your network\'s rules. Some networks require this to access IP addresses that don\'t start with 100.x.y.z.</string> <string name="use_tailscale_subnets_subtitle">Route traffic according to your network\'s rules. Some networks require this to access IP addresses that don\'t start with 100.x.y.z.</string>
<string name="subnet_routing">Subnet routing</string> <string name="subnet_routing">Subnet routing</string>
<string name="client_remote_logging_enabled">Remote client logging</string> <string name="client_remote_logging_enabled">Remote client logging</string>
<string name="client_remote_logging_enabled_subtitle">Equivalent to --no-logs-no-support on Linux.\nChanges require restarting the app to take effect.</string> <string name="client_remote_logging_enabled_subtitle">Whether debug logs are uploaded to Tailscale support. When disabled no support or network flow logs.\nChanges require restarting the app to take effect.</string>
<string name="specifies_a_device_name_to_be_used_instead_of_the_automatic_default">Specifies a device name to be used instead of the automatic default.</string> <string name="specifies_a_device_name_to_be_used_instead_of_the_automatic_default">Specifies a device name to be used instead of the automatic default.</string>
<string name="hostname">Hostname</string> <string name="hostname">Hostname</string>
<string name="failed_to_save">Failed to save</string> <string name="failed_to_save">Failed to save</string>

Loading…
Cancel
Save