mirror of
https://github.com/CherretGit/zaprett-app.git
synced 2025-12-31 16:09:45 +05:00
one more fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user