mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/25113 - Remove showClearSiteData feature flag
This commit is contained in:
parent
49b69b2859
commit
4d5c8f5ce3
@ -67,11 +67,6 @@ object FeatureFlags {
|
|||||||
*/
|
*/
|
||||||
const val showHomeOnboarding = false
|
const val showHomeOnboarding = false
|
||||||
|
|
||||||
/**
|
|
||||||
* Enables showing the option to clear site data.
|
|
||||||
*/
|
|
||||||
const val showClearSiteData = true
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables history improvement features.
|
* Enables history improvement features.
|
||||||
*/
|
*/
|
||||||
|
@ -18,7 +18,6 @@ import androidx.navigation.NavController
|
|||||||
import kotlinx.coroutines.CoroutineScope
|
import kotlinx.coroutines.CoroutineScope
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
import org.mozilla.fenix.FeatureFlags
|
|
||||||
import org.mozilla.fenix.R
|
import org.mozilla.fenix.R
|
||||||
import org.mozilla.fenix.databinding.QuicksettingsClearSiteDataBinding
|
import org.mozilla.fenix.databinding.QuicksettingsClearSiteDataBinding
|
||||||
import org.mozilla.fenix.ext.components
|
import org.mozilla.fenix.ext.components
|
||||||
@ -59,11 +58,6 @@ class ClearSiteDataView(
|
|||||||
)
|
)
|
||||||
|
|
||||||
fun update(webInfoState: WebsiteInfoState) {
|
fun update(webInfoState: WebsiteInfoState) {
|
||||||
if (!FeatureFlags.showClearSiteData) {
|
|
||||||
setVisibility(false)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
websiteUrl = webInfoState.websiteUrl
|
websiteUrl = webInfoState.websiteUrl
|
||||||
|
|
||||||
setVisibility(true)
|
setVisibility(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user