diff --git a/src/view/com/composer/Prompt.tsx b/src/view/com/composer/Prompt.tsx index b163104c57..319d57be3c 100644 --- a/src/view/com/composer/Prompt.tsx +++ b/src/view/com/composer/Prompt.tsx @@ -4,6 +4,7 @@ import {colors} from '../../lib/styles' import {useStores} from '../../../state' import {UserAvatar} from '../util/UserAvatar' import {Text} from '../util/text/Text' +import {usePalette} from '../../lib/hooks/usePalette' export function ComposePrompt({ noAvi = false, @@ -16,13 +17,19 @@ export function ComposePrompt({ btn?: string onPressCompose: () => void }) { + const pal = usePalette('default') const store = useStores() const onPressAvatar = () => { store.nav.navigate(`/profile/${store.me.handle}`) } return ( {!noAvi ? ( @@ -35,10 +42,14 @@ export function ComposePrompt({ ) : undefined} - {text} + + {text} + - - {btn} + + + {btn} + ) @@ -50,9 +61,7 @@ const styles = StyleSheet.create({ paddingVertical: 10, flexDirection: 'row', alignItems: 'center', - backgroundColor: colors.white, borderTopWidth: 1, - borderTopColor: colors.gray2, }, noAviContainer: { paddingVertical: 14, @@ -64,17 +73,9 @@ const styles = StyleSheet.create({ marginLeft: 10, flex: 1, }, - text: { - color: colors.gray4, - fontSize: 17, - }, btn: { - backgroundColor: colors.gray1, paddingVertical: 6, paddingHorizontal: 14, borderRadius: 30, }, - btnText: { - color: colors.gray5, - }, }) diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index de0f9570ba..9bc8df1107 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -180,8 +180,7 @@ export const PostThreadItem = observer(function PostThreadItem({ ) : undefined} {item._isHighlightedPost && hasEngagement ? ( - + {item.post.repostCount ? (