From 8e3dc52536e50c84839f1846f4fba9b98ff16037 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Sun, 20 Nov 2022 11:20:08 -0600
Subject: Replace the FAB with a compose prompt at the top of the feed

---
 src/view/screens/Notifications.tsx | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'src/view/screens/Notifications.tsx')

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>
   )
 }
-- 
cgit 1.4.1

