mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
feat: support external controller and its override settings
This commit is contained in:
@@ -185,6 +185,22 @@ class OverrideSettingsDesign(
|
||||
empty = R.string.default_
|
||||
)
|
||||
|
||||
editableText(
|
||||
value = configuration::externalController,
|
||||
adapter = NullableTextAdapter.String,
|
||||
title = R.string.external_controller,
|
||||
placeholder = R.string.dont_modify,
|
||||
empty = R.string.default_
|
||||
)
|
||||
|
||||
editableText(
|
||||
value = configuration::secret,
|
||||
adapter = NullableTextAdapter.String,
|
||||
title = R.string.secret,
|
||||
placeholder = R.string.dont_modify,
|
||||
empty = R.string.default_
|
||||
)
|
||||
|
||||
selectableList(
|
||||
value = configuration::mode,
|
||||
values = arrayOf(
|
||||
|
||||
@@ -144,6 +144,8 @@
|
||||
<string name="mode">Mode</string>
|
||||
<string name="log_level">Log Level</string>
|
||||
<string name="ipv6">IPv6</string>
|
||||
<string name="external_controller">External Controller</string>
|
||||
<string name="secret">Secret</string>
|
||||
<string name="hosts">Hosts</string>
|
||||
<string name="sideload_geoip">Sideload GEOIP</string>
|
||||
<string name="sideload_geoip_summary">External GEOIP database</string>
|
||||
|
||||
Reference in New Issue
Block a user