one more fix

This commit is contained in:
CherretGit
2025-08-21 16:35:56 +07:00
parent 2aa831baa5
commit 49f61892da

View File

@@ -637,7 +637,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) {