[fenix] For https://github.com/mozilla-mobile/fenix/issues/25113 - Remove showClearSiteData feature flag

pull/600/head
Gabriel Luong 2 years ago committed by mergify[bot]
parent 49b69b2859
commit 4d5c8f5ce3

@ -67,11 +67,6 @@ object FeatureFlags {
*/
const val showHomeOnboarding = false
/**
* Enables showing the option to clear site data.
*/
const val showClearSiteData = true
/**
* Enables history improvement features.
*/

@ -18,7 +18,6 @@ import androidx.navigation.NavController
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import org.mozilla.fenix.FeatureFlags
import org.mozilla.fenix.R
import org.mozilla.fenix.databinding.QuicksettingsClearSiteDataBinding
import org.mozilla.fenix.ext.components
@ -59,11 +58,6 @@ class ClearSiteDataView(
)
fun update(webInfoState: WebsiteInfoState) {
if (!FeatureFlags.showClearSiteData) {
setVisibility(false)
return
}
websiteUrl = webInfoState.websiteUrl
setVisibility(true)

Loading…
Cancel
Save