diff --git a/src/view/com/post-thread/PostVotedBy.tsx b/src/view/com/post-thread/PostVotedBy.tsx index 011df4aa..f167a3ab 100644 --- a/src/view/com/post-thread/PostVotedBy.tsx +++ b/src/view/com/post-thread/PostVotedBy.tsx @@ -7,7 +7,8 @@ import {Text} from '../util/text/Text' import {ErrorMessage} from '../util/error/ErrorMessage' import {UserAvatar} from '../util/UserAvatar' import {useStores} from '../../../state' -import {s, colors} from '../../lib/styles' +import {s} from '../../lib/styles' +import {usePalette} from '../../lib/hooks/usePalette' export const PostVotedBy = observer(function PostVotedBy({ uri, @@ -76,9 +77,11 @@ export const PostVotedBy = observer(function PostVotedBy({ }) const LikedByItem = ({item}: {item: VotesItem}) => { + const pal = usePalette('default') + return ( @@ -92,10 +95,12 @@ const LikedByItem = ({item}: {item: VotesItem}) => { /> - + {item.actor.displayName || item.actor.handle} - @{item.actor.handle} + + @{item.actor.handle} + @@ -105,7 +110,6 @@ const LikedByItem = ({item}: {item: VotesItem}) => { const styles = StyleSheet.create({ outer: { marginTop: 1, - backgroundColor: colors.white, }, layout: { flexDirection: 'row',