Remove use of flatten where possible (#9325)

* remove use of flatten where possible

* restore flatten where it says it's needed

* missing utils alpha
This commit is contained in:
Samuel Newman
2025-11-04 15:43:08 +02:00
committed by GitHub
parent 0bcde99025
commit 1b0fbd503e
28 changed files with 67 additions and 97 deletions
@@ -134,12 +134,12 @@ function MenuInner({
accessibilityRole="button"
role="button"
onPress={() => setExpanded(true)}
style={flatten([
style={[
a.rounded_full,
{height: 34, width: 34},
a.justify_center,
a.align_center,
])}>
]}>
<DotGridIcon size="lg" style={t.atoms.text_contrast_medium} />
</Pressable>
</DropdownMenu.Item>
+1 -1
View File
@@ -424,7 +424,7 @@ function PreviewMessage({message}: {message: ChatBskyConvoDefs.MessageView}) {
]}>
<RichText
value={rt}
style={[a.text_md, a.leading_snug]}
style={[a.text_md]}
interactiveStyle={a.underline}
enableTags
/>