From 370d52bd1f4ba3b5effb7a48cd1c8b14aea88781 Mon Sep 17 00:00:00 2001 From: Ansh Nanda Date: Fri, 12 May 2023 14:40:58 -0700 Subject: add custom algorithm screen to settings under moderation --- src/view/screens/CustomAlgorithms.tsx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/view/screens/CustomAlgorithms.tsx (limited to 'src/view/screens/CustomAlgorithms.tsx') diff --git a/src/view/screens/CustomAlgorithms.tsx b/src/view/screens/CustomAlgorithms.tsx new file mode 100644 index 000000000..3e2fa7e73 --- /dev/null +++ b/src/view/screens/CustomAlgorithms.tsx @@ -0,0 +1,27 @@ +import {NativeStackScreenProps} from '@react-navigation/native-stack' +import {usePalette} from 'lib/hooks/usePalette' +import {CommonNavigatorParams} from 'lib/routes/types' +import {observer} from 'mobx-react-lite' +import React from 'react' +import {StyleSheet, View} from 'react-native' +import {withAuthRequired} from 'view/com/auth/withAuthRequired' +import {ViewHeader} from 'view/com/util/ViewHeader' +import {Text} from 'view/com/util/text/Text' + +type Props = NativeStackScreenProps + +const CustomAlgorithms = withAuthRequired( + observer((props: Props) => { + const pal = usePalette('default') + return ( + + + CustomAlgorithms + + ) + }), +) + +export default CustomAlgorithms + +const styles = StyleSheet.create({}) -- cgit 1.4.1