Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Apr 20, 2024
1 parent 7af8d38 commit a3b1fea
Showing 1 changed file with 4 additions and 7 deletions.
Expand Up @@ -82,15 +82,12 @@ class SettingsViewModel(application: Application) : AndroidViewModel(application

AppConfig.PREF_MUX_CONCURRENCY,
AppConfig.PREF_MUX_XUDP_CONCURRENCY -> {
settingsStorage?.encode(
key,
sharedPreferences.getString(key, "8")?.toIntOrNull() ?: 8
)
settingsStorage?.encode(key, sharedPreferences.getString(key, "8"))
}

AppConfig.PREF_PER_APP_PROXY_SET -> {
settingsStorage?.encode(key, sharedPreferences.getStringSet(key, setOf()))
}
// AppConfig.PREF_PER_APP_PROXY_SET -> {
// settingsStorage?.encode(key, sharedPreferences.getStringSet(key, setOf()))
// }
}
if (key == AppConfig.PREF_UI_MODE_NIGHT) {
Utils.setNightMode(getApplication())
Expand Down

0 comments on commit a3b1fea

Please sign in to comment.