Skip to content

Commit

Permalink
fix(shadowsocks): allow set plugin without plugin-opts
Browse files Browse the repository at this point in the history
Signed-off-by: HystericalDragon <[email protected]>
  • Loading branch information
xchacha20-poly1305 authored and purofle committed Nov 25, 2023
1 parent 8229f39 commit c581dd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c581dd2

Please sign in to comment.