@ -6,12 +6,10 @@ package org.mozilla.fenix.settings
import android.os.Bundle
import android.view.View
import androidx.preference.PreferenceCategory
import androidx.preference.PreferenceFragmentCompat
import org.mozilla.fenix.R
import org.mozilla.fenix.components.metrics.Event
import org.mozilla.fenix.ext.components
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.ext.showToolbar
import org.mozilla.fenix.utils.view.addToRadioGroup
@ -51,10 +49,6 @@ class TabsSettingsFragment : PreferenceFragmentCompat() {
radioOneMonth = requirePreference ( R . string . pref _key _close _tabs _after _one _month )
setupRadioGroups ( )
requirePreference < PreferenceCategory > ( R . string . pref _key _tab _view _category ) . apply {
isVisible = context . settings ( ) . showGridViewInTabsSettings
}
}
private fun setupRadioGroups ( ) {