diff options
Diffstat (limited to 'src/view/screens')
-rw-r--r-- | src/view/screens/Contacts.tsx | 2 | ||||
-rw-r--r-- | src/view/screens/Notifications.tsx | 24 |
2 files changed, 23 insertions, 3 deletions
diff --git a/src/view/screens/Contacts.tsx b/src/view/screens/Contacts.tsx index 7c079cde6..70b15a86f 100644 --- a/src/view/screens/Contacts.tsx +++ b/src/view/screens/Contacts.tsx @@ -43,7 +43,7 @@ export const Contacts = ({visible, params}: ScreenParams) => { </View> </View> <Selector - items={['All', 'Following']} + items={['All', 'Following', 'Scenes']} selectedIndex={0} swipeGestureInterp={selectorInterp} /> 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, + }, +}) |