Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PublicAndroidApps
Nebulo
Commits
162d7151
Commit
162d7151
authored
Aug 08, 2019
by
Daniel Wolf
Browse files
Indefinitely wait for the default server to be loaded
parent
6197d913
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/util/preferences/AppSettings.kt
View file @
162d7151
...
...
@@ -229,7 +229,7 @@ class AppSettingsSharedPreferences(context: Context) : AppSettings, SimpleTypedP
shouldContain
(
BuildConfig
.
APPLICATION_ID
)
},
cacheControl
)
override
var
dnsServerConfig
:
DnsServerInformation
<
*
>
by
cache
(
DnsServerInformationPreference
(
"dns_server_config"
)
{
AbstractTLSDnsHandle
.
waitUntilKnownServersArePopulated
(
500
)
{
knownServers
->
AbstractTLSDnsHandle
.
waitUntilKnownServersArePopulated
(
-
1
)
{
knownServers
->
knownServers
.
getValue
(
9
)
}
},
cacheControl
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment