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

Also update the notification in background here

parent 72b39c4e
......@@ -1219,9 +1219,10 @@ class DnsVpnService : VpnService(), Runnable, CoroutineScope {
connectTimeout = 8000,
queryCountCallback = {
if (!simpleNotification) {
setNotificationText()
queryCount++
updateNotification()
launch(Dispatchers.IO) {
updateNotification()
}
}
}, mapQueryRefusedToHostBlock = getPreferences().mapQueryRefusedToHostBlock
)
......
Supports Markdown
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