diff options
Diffstat (limited to 'src/view/screens/Notifications.tsx')
-rw-r--r-- | src/view/screens/Notifications.tsx | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx index fac39acd2..e33a34c2f 100644 --- a/src/view/screens/Notifications.tsx +++ b/src/view/screens/Notifications.tsx @@ -1,6 +1,7 @@ import React, {useState, useEffect} from 'react' -import {View} from 'react-native' +import {StyleSheet, Text, View} from 'react-native' import {Feed} from '../com/notifications/Feed' +import {colors} from '../lib/styles' import {useStores} from '../../state' import {NotificationsViewModel} from '../../state/models/notifications-view' import {ScreenParams} from '../routes' @@ -35,5 +36,24 @@ export const Notifications = ({visible}: ScreenParams) => { } }, [visible, store]) - return <View>{notesView && <Feed view={notesView} />}</View> + return ( + <View> + <View style={styles.header}> + <Text style={styles.title}>Notifications</Text> + </View> + {notesView && <Feed view={notesView} />} + </View> + ) } + +const styles = StyleSheet.create({ + header: { + backgroundColor: colors.white, + }, + title: { + fontSize: 30, + fontWeight: 'bold', + paddingHorizontal: 12, + paddingVertical: 6, + }, +}) |