[SEL-46] FE: Add minimum bottom padding (#510)

* fix bottom padding for smaller screens

* fix podfile post install hook permissions check

* update pod lock and disable git commit action step for now

* update lock

* fix flaky android downloads that causes pipeline to crash
This commit is contained in:
Justin Hernandez
2025-04-18 07:36:43 -05:00
committed by GitHub
parent 35221386da
commit 91d86b6fdb
3 changed files with 36 additions and 55 deletions

View File

@@ -88,11 +88,12 @@ const BottomSection: React.FC<BottomSectionProps> = ({
style,
...props
}) => {
const { bottom } = useSafeAreaInsets();
const { bottom: safeAreaBottom } = useSafeAreaInsets();
const incomingBottom = props.paddingBottom ?? props.pb ?? 0;
const minBottom = Math.max(safeAreaBottom, 10);
const totalBottom =
typeof incomingBottom === 'number' ? bottom + incomingBottom : bottom;
typeof incomingBottom === 'number' ? minBottom + incomingBottom : minBottom;
return (
<View
{...props}