Commit a5ae877e authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Join statements

parent a6c22598
......@@ -1514,8 +1514,7 @@ class DnsVpnService : VpnService(), Runnable, CoroutineScope {
}
private fun createDnsCache(): SimpleDnsCache? {
val dnsCache: SimpleDnsCache?
dnsCache = if (getPreferences().useDnsCache) {
val dnsCache: SimpleDnsCache? = if (getPreferences().useDnsCache) {
log("Creating DNS Cache.")
val cacheControl: CacheControl = if (!getPreferences().useDefaultDnsCacheTime) {
NxDomainCacheControl(applicationContext)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment