Improve error messages
This commit is contained in:
parent
6e93301542
commit
fb3a43c216
15 changed files with 156 additions and 32 deletions
|
@ -51,6 +51,9 @@ export const Home = observer(function Home({
|
|||
const onCreatePost = () => {
|
||||
defaultFeedView.loadLatest()
|
||||
}
|
||||
const onPressTryAgain = () => {
|
||||
defaultFeedView.refresh()
|
||||
}
|
||||
|
||||
return (
|
||||
<View style={s.flex1}>
|
||||
|
@ -63,6 +66,7 @@ export const Home = observer(function Home({
|
|||
feed={defaultFeedView}
|
||||
scrollElRef={scrollElRef}
|
||||
style={{flex: 1}}
|
||||
onPressTryAgain={onPressTryAgain}
|
||||
/>
|
||||
<FAB icon="pen-nib" onPress={onComposePress} />
|
||||
</View>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue