We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7cb299 commit f2b9eaaCopy full SHA for f2b9eaa
app/src/main/java/com/duckduckgo/app/browser/BrowserTabViewModel.kt
@@ -945,8 +945,8 @@ class BrowserTabViewModel @Inject constructor(
945
command.value = Command.RefreshOmnibar
946
}
947
948
- if (settingsPageFeature.serpSettingsSync().isEnabled()) {
949
- viewModelScope.launch {
+ viewModelScope.launch {
+ if (withContext(dispatchers.io()) { settingsPageFeature.serpSettingsSync().isEnabled() }) {
950
contentScopeScriptsSubscriptionEventPluginPoint.getPlugins().forEach { plugin ->
951
_subscriptionEventDataChannel.send(plugin.getSubscriptionEventData())
952
0 commit comments