about summary refs log tree commit diff
path: root/src/screens/Notifications.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-06-09 21:34:43 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-06-09 21:34:43 -0500
commit967f9fc474f2903dd2c12ef4f662ead1592ea26c (patch)
treeaf90380121af16ce2382d725fee3d50cd6332598 /src/screens/Notifications.tsx
parent802222fe7181303d710607129e1c74427f07c97c (diff)
downloadvoidsky-967f9fc474f2903dd2c12ef4f662ead1592ea26c.tar.zst
Add desktop shell
Diffstat (limited to 'src/screens/Notifications.tsx')
-rw-r--r--src/screens/Notifications.tsx25
1 files changed, 9 insertions, 16 deletions
diff --git a/src/screens/Notifications.tsx b/src/screens/Notifications.tsx
index 8ffb5bb87..292f4593f 100644
--- a/src/screens/Notifications.tsx
+++ b/src/screens/Notifications.tsx
@@ -1,21 +1,14 @@
 import React from 'react'
-import {SafeAreaView, ScrollView, Text, Button, View} from 'react-native'
-import type {PrimaryTabScreenProps} from '../routes/types'
+import {Shell} from '../platform/shell'
+import {Text, View} from 'react-native'
+import type {RootTabsScreenProps} from '../routes/types'
 
-export const Notifications = ({
-  navigation,
-}: PrimaryTabScreenProps<'Notifications'>) => {
+export const Notifications = (_props: RootTabsScreenProps<'Notifications'>) => {
   return (
-    <SafeAreaView>
-      <ScrollView contentInsetAdjustmentBehavior="automatic">
-        <View>
-          <Text>Hello world</Text>
-          <Button
-            title="Go to Jane's profile"
-            onPress={() => navigation.navigate('Profile', {name: 'Jane'})}
-          />
-        </View>
-      </ScrollView>
-    </SafeAreaView>
+    <Shell>
+      <View style={{justifyContent: 'center', alignItems: 'center'}}>
+        <Text style={{fontSize: 20, fontWeight: 'bold'}}>Notifications</Text>
+      </View>
+    </Shell>
   )
 }