Remove gate from settings

This commit is contained in:
Eric Bailey
2024-09-18 12:42:10 -05:00
parent 903695250b
commit 0bdfaf3905
@@ -10,7 +10,6 @@ import {useLingui} from '@lingui/react'
import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries'
import {CommonNavigatorParams, NativeStackScreenProps} from '#/lib/routes/types'
import {useGate} from '#/lib/statsig/statsig'
import {s} from '#/lib/styles'
import {useSetThemePrefs, useThemePrefs} from '#/state/shell'
import {SimpleViewHeader} from '#/view/com/util/SimpleViewHeader'
@@ -27,8 +26,6 @@ type Props = NativeStackScreenProps<CommonNavigatorParams, 'AppearanceSettings'>
export function AppearanceSettingsScreen({}: Props) {
const t = useTheme()
const {_} = useLingui()
const gate = useGate()
const [neue] = React.useState(() => gate('typography_neue'))
const {isTabletOrMobile} = useWebMediaQueries()
const {fonts} = useAlf()
@@ -159,8 +156,6 @@ export function AppearanceSettingsScreen({}: Props) {
</Animated.View>
)}
{neue && (
<>
<View style={[a.gap_md]}>
<View style={[a.gap_xs]}>
<View style={[a.flex_row, a.align_center, a.gap_md]}>
@@ -229,8 +224,6 @@ export function AppearanceSettingsScreen({}: Props) {
</ToggleButton.Button>
</ToggleButton.Group>
</View>
</>
)}
</View>
</View>
</ScrollView>