rename parametres

This commit is contained in:
white
2025-08-21 10:53:16 +03:00
parent 28dca0716a
commit aef5b962b5

View File

@@ -642,7 +642,7 @@ fun getHostListMode(prefs : SharedPreferences) : String {
FileInputStream(configFile).use { input ->
props.load(input)
}
val hostlist = props.getProperty("list_type", "whitelist")!!
val hostlist = props.getProperty("list-type", "whitelist")!!
return if (hostlist == "whitelist" || hostlist == "blacklist") hostlist
else "whitelist"
} catch (e: IOException) {