about summary refs log tree commit diff
path: root/src/view/screens/Notifications.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-12-13 15:36:05 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-13 15:36:05 -0600
commit9ad9bc5c0edc38ad5cdcbffa1061b3787bc8a4de (patch)
tree707f3ec6f95dfe3fa172eeb162b50caf907143ac /src/view/screens/Notifications.tsx
parent135628baf27bc3517b47e1f976a0851a1fc99d98 (diff)
downloadvoidsky-9ad9bc5c0edc38ad5cdcbffa1061b3787bc8a4de.tar.zst
Ensure load more is always visible
Diffstat (limited to 'src/view/screens/Notifications.tsx')
-rw-r--r--src/view/screens/Notifications.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx
index 8af9d0713..fe4a78721 100644
--- a/src/view/screens/Notifications.tsx
+++ b/src/view/screens/Notifications.tsx
@@ -1,9 +1,8 @@
-import React, {useState, useEffect} from 'react'
+import React, {useEffect} from 'react'
 import {View} from 'react-native'
 import {ViewHeader} from '../com/util/ViewHeader'
 import {Feed} from '../com/notifications/Feed'
 import {useStores} from '../../state'
-import {NotificationsViewModel} from '../../state/models/notifications-view'
 import {ScreenParams} from '../routes'
 import {useOnMainScroll} from '../lib/useOnMainScroll'
 
@@ -34,7 +33,7 @@ export const Notifications = ({navIdx, visible}: ScreenParams) => {
 
   return (
     <View style={{flex: 1}}>
-      <ViewHeader title="Notifications" />
+      <ViewHeader title="Notifications" canGoBack={false} />
       <Feed
         view={store.me.notifications}
         onPressTryAgain={onPressTryAgain}