Skip to content

Commit f0299cb

Browse files
committed
fix: attachment picker error component default height
1 parent ecc77bd commit f0299cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const styles = StyleSheet.create({
1616
errorContainer: {
1717
alignItems: 'center',
1818
bottom: 0,
19+
justifyContent: 'center',
1920
left: 0,
20-
paddingTop: 16,
2121
position: 'absolute',
2222
right: 0,
2323
},
@@ -70,7 +70,7 @@ export const AttachmentPickerError = (props: AttachmentPickerErrorProps) => {
7070
styles.errorContainer,
7171
{
7272
backgroundColor: white_smoke,
73-
height: attachmentPickerBottomSheetHeight ?? 308,
73+
height: attachmentPickerBottomSheetHeight,
7474
},
7575
errorContainer,
7676
]}

0 commit comments

Comments
 (0)