Skip to content

Commit

Permalink
Fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisBarreiro committed Oct 17, 2024
1 parent bb043c6 commit 03c1c3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package com.duckduckgo.duckplayer.impl

import android.content.res.Configuration
import android.net.Uri
import android.util.Log
import android.webkit.MimeTypeMap
import android.webkit.WebResourceRequest
import android.webkit.WebResourceResponse
Expand Down Expand Up @@ -445,9 +444,7 @@ class RealDuckPlayer @Inject constructor(

override fun observeShouldOpenInNewTab(): Flow<OpenDuckPlayerInNewTab> {
return duckPlayerFeatureRepository.observeOpenInNewTab().map {
(if (!duckPlayerFeature.openInNewTab().isEnabled()) Unavailable else if (it) On else Off).also {
Log.d("Cris", "observeShouldOpenInNewTab: $it")
}
(if (!duckPlayerFeature.openInNewTab().isEnabled()) Unavailable else if (it) On else Off)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ enum class PrivacyFeatureName(val value: String) {
TrackingParametersFeatureName("trackingParameters"),
}

const val PRIVACY_REMOTE_CONFIG_URL = "https://www.jsonblob.com/api/1252645298605252608"
const val PRIVACY_REMOTE_CONFIG_URL = "https://staticcdn.duckduckgo.com/trackerblocking/config/v4/android-config.json"

0 comments on commit 03c1c3d

Please sign in to comment.