Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
hevelius committed Jan 31, 2024
1 parent cb2285b commit f1eeda4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ts/features/fci/components/ErrorComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
ButtonSolid,
ButtonSolidProps,
IOPictograms,
IOSpacingScale,
IOStyles,
Pictogram,
VSpacer
Expand Down Expand Up @@ -44,6 +45,8 @@ export type Props = WithTestID<{
onPress: () => void;
}>;

const DEFAULT_BOTTOM_PADDING: IOSpacingScale = 16;

const ErrorComponent = (props: Props) => {
const dispatch = useIODispatch();
const signatureRequestId = useIOSelector(fciSignatureRequestIdSelector);
Expand Down Expand Up @@ -154,7 +157,7 @@ const ErrorComponent = (props: Props) => {
<View
style={[
IOStyles.horizontalContentPadding,
{ paddingBottom: Math.max(insets.bottom, 16) }
{ paddingBottom: Math.max(insets.bottom, DEFAULT_BOTTOM_PADDING) }
]}
>
{footerButtons()}
Expand Down

0 comments on commit f1eeda4

Please sign in to comment.