diff options
Diffstat (limited to 'src/view/screens/PostThread.tsx')
-rw-r--r-- | src/view/screens/PostThread.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/view/screens/PostThread.tsx b/src/view/screens/PostThread.tsx index 1f2deb312..a30b5521b 100644 --- a/src/view/screens/PostThread.tsx +++ b/src/view/screens/PostThread.tsx @@ -1,5 +1,7 @@ import React, {useEffect} from 'react' +import {View} from 'react-native' import {makeRecordUri} from '../lib/strings' +import {ViewHeader} from '../com/util/ViewHeader' import {PostThread as PostThreadComponent} from '../com/post-thread/PostThread' import {ScreenParams} from '../routes' import {useStores} from '../../state' @@ -15,5 +17,10 @@ export const PostThread = ({visible, params}: ScreenParams) => { } }, [visible, store.nav, name]) - return <PostThreadComponent uri={uri} /> + return ( + <View> + <ViewHeader title="Post" subtitle={`by ${name}`} /> + <PostThreadComponent uri={uri} /> + </View> + ) } |