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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user