diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-21 18:55:08 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-21 18:55:08 -0600 |
commit | e858bb52de180645bba4f5ffa2f8bc0cfe8ad1fe (patch) | |
tree | 120b5be2ed657b7f8d30d56016d1a0857bb98086 /src/view/screens/Notifications.tsx | |
parent | b2dba9a15b0b27c9221808ff037090c2b4c2d500 (diff) | |
parent | 7e487fd5ae053ebb4373b85f1b3d7aa66f8a0241 (diff) | |
download | voidsky-e858bb52de180645bba4f5ffa2f8bc0cfe8ad1fe.tar.zst |
Merge branch 'simplify' into main
Diffstat (limited to 'src/view/screens/Notifications.tsx')
-rw-r--r-- | src/view/screens/Notifications.tsx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx index 7e4de497e..1e7abdb90 100644 --- a/src/view/screens/Notifications.tsx +++ b/src/view/screens/Notifications.tsx @@ -1,7 +1,6 @@ import React, {useState, useEffect} from 'react' import {View} from 'react-native' import {ViewHeader} from '../com/util/ViewHeader' -import {FAB} from '../com/util/FloatingActionButton' import {Feed} from '../com/notifications/Feed' import {useStores} from '../../state' import {NotificationsViewModel} from '../../state/models/notifications-view' @@ -37,9 +36,6 @@ export const Notifications = ({navIdx, visible}: ScreenParams) => { } }, [visible, store]) - const onComposePress = () => { - store.shell.openComposer({}) - } const onPressTryAgain = () => { notesView?.refresh() } @@ -48,7 +44,6 @@ export const Notifications = ({navIdx, visible}: ScreenParams) => { <View style={{flex: 1}}> <ViewHeader title="Notifications" /> {notesView && <Feed view={notesView} onPressTryAgain={onPressTryAgain} />} - <FAB icon="pen-nib" onPress={onComposePress} /> </View> ) } |