diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-14 18:57:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 18:57:16 +0100 |
commit | 5af61ca4e48f5b4e8b2663cf179cb4973dcfddf4 (patch) | |
tree | 8ac8ce8fa3a27f9be1ddb4f308f72603bfb65141 /src/screens/Messages/Settings/index.tsx | |
parent | 9861494e341b482a522d0ecc6a2194bb12a769fb (diff) | |
download | voidsky-5af61ca4e48f5b4e8b2663cf179cb4973dcfddf4.tar.zst |
[🐴] Settings screen (#3830)
* create settings screen + api * update api package * use putrecord API with validate false * create new RadioGroup component
Diffstat (limited to 'src/screens/Messages/Settings/index.tsx')
-rw-r--r-- | src/screens/Messages/Settings/index.tsx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/screens/Messages/Settings/index.tsx b/src/screens/Messages/Settings/index.tsx deleted file mode 100644 index bd093c792..000000000 --- a/src/screens/Messages/Settings/index.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react' -import {View} from 'react-native' -import {msg} from '@lingui/macro' -import {useLingui} from '@lingui/react' -import {NativeStackScreenProps} from '@react-navigation/native-stack' - -import {CommonNavigatorParams} from '#/lib/routes/types' -import {useGate} from '#/lib/statsig/statsig' -import {ViewHeader} from '#/view/com/util/ViewHeader' -import {ClipClopGate} from '../gate' - -type Props = NativeStackScreenProps<CommonNavigatorParams, 'MessagesSettings'> -export function MessagesSettingsScreen({}: Props) { - const {_} = useLingui() - - const gate = useGate() - if (!gate('dms')) return <ClipClopGate /> - - return ( - <View> - <ViewHeader title={_(msg`Settings`)} showOnDesktop /> - </View> - ) -} |