mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 22:50:05 +08:00
fix(shadowsocks): allow set plugin without plugin-opts
Signed-off-by: HystericalDragon <HystericalDragons@proton.me>
This commit is contained in:
parent
8229f3982b
commit
c581dd2625
@ -39,7 +39,7 @@ class ShadowsocksSettingsActivity : ProfileSettingsActivity<ShadowsocksBean>() {
|
||||
|
||||
val pn = pluginName.readStringFromCache()
|
||||
val pc = pluginConfig.readStringFromCache()
|
||||
plugin = if (pn.isNotBlank() && pc.isNotBlank()) "$pn;$pc" else ""
|
||||
plugin = if (pn.isNotBlank()) "$pn;$pc" else ""
|
||||
}
|
||||
|
||||
override fun PreferenceFragmentCompat.createPreferences(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user