diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-15 10:46:12 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-15 10:46:12 -0600 |
commit | fb3a43c216a884f7185c53cba6e210d6659448d1 (patch) | |
tree | 171877b22ccd90087b894df8003ed42ebf689601 /src/view/screens/Notifications.tsx | |
parent | 6e93301542ce9593f614ab89883e3c87e38c5769 (diff) | |
download | voidsky-fb3a43c216a884f7185c53cba6e210d6659448d1.tar.zst |
Improve error messages
Diffstat (limited to 'src/view/screens/Notifications.tsx')
-rw-r--r-- | src/view/screens/Notifications.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx index c82e7cc7c..f1084540c 100644 --- a/src/view/screens/Notifications.tsx +++ b/src/view/screens/Notifications.tsx @@ -36,10 +36,14 @@ export const Notifications = ({visible}: ScreenParams) => { } }, [visible, store]) + const onPressTryAgain = () => { + notesView?.refresh() + } + return ( <View style={{flex: 1}}> <ViewHeader title="Notifications" /> - {notesView && <Feed view={notesView} />} + {notesView && <Feed view={notesView} onPressTryAgain={onPressTryAgain} />} </View> ) } |