For #25113 - Remove showClearSiteData feature flag

pull/543/head
Gabriel Luong 2 years ago committed by mergify[bot]
parent 7723afcd13
commit d6996b56a0

@ -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