diff --git a/src/view/com/composer/ComposerReplyTo.tsx b/src/view/com/composer/ComposerReplyTo.tsx index d4ba1f3a86..74ca615070 100644 --- a/src/view/com/composer/ComposerReplyTo.tsx +++ b/src/view/com/composer/ComposerReplyTo.tsx @@ -16,7 +16,7 @@ import {ComposerOptsPostRef} from 'state/shell/composer' import {QuoteEmbed} from 'view/com/util/post-embeds/QuoteEmbed' import {Text} from 'view/com/util/text/Text' import {PreviewableUserAvatar} from 'view/com/util/UserAvatar' -import {useTheme} from '#/alf' +import {atoms as a, useTheme} from '#/alf' export function ComposerReplyTo({replyTo}: {replyTo: ComposerOptsPostRef}) { const t = useTheme() @@ -122,94 +122,87 @@ function ComposerReplyToImages({ showFull: boolean }) { return ( - - - {(images.length === 1 && ( - + + {(images.length === 1 && ( + + )) || + (images.length === 2 && ( + + + + )) || - (images.length === 2 && ( - + (images.length === 3 && ( + + + + + + + + )) || + (images.length === 4 && ( + + - )) || - (images.length === 3 && ( - + + - - - - - )) || - (images.length === 4 && ( - - - - - - - - - - - ))} - + + ))} ) } @@ -240,23 +233,7 @@ const styles = StyleSheet.create({ borderRadius: 6, overflow: 'hidden', marginTop: 2, - }, - imagesInner: { - gap: 2, - }, - imagesRow: { - flexDirection: 'row', - }, - singleImage: { - width: 65, - height: 65, - }, - doubleImageTall: { - width: 32.5, - height: 65, - }, - doubleImage: { - width: 32.5, - height: 32.5, + height: 64, + width: 64, }, })