Skip to content

Commit ec69f36

Browse files
authored
fix: theme not getting applied to attachment picker flatlist (#3307)
Fixes #3305
1 parent d4d8f75 commit ec69f36

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package/src/components/AttachmentPicker/AttachmentPicker.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,11 @@ export const AttachmentPicker = React.forwardRef(
278278
>
279279
{iOSLimited && <AttachmentPickerIOSSelectMorePhotos />}
280280
<BottomSheetFlatList
281-
contentContainerStyle={[
281+
contentContainerStyle={StyleSheet.flatten([
282282
styles.container,
283-
{ backgroundColor: white },
283+
{ backgroundColor: white, opacity: photoError ? 0 : 1 },
284284
bottomSheetContentContainer,
285-
{ opacity: photoError ? 0 : 1 },
286-
]}
285+
])}
287286
data={selectedPhotos}
288287
keyExtractor={(item) => item.asset.uri}
289288
numColumns={numberOfAttachmentPickerImageColumns ?? 3}

0 commit comments

Comments
 (0)