Page MenuHomePhabricator

D13871.diff
No OneTemporary

D13871.diff

diff --git a/native/components/connect-farcaster-bottom-sheet.react.js b/native/components/connect-farcaster-bottom-sheet.react.js
--- a/native/components/connect-farcaster-bottom-sheet.react.js
+++ b/native/components/connect-farcaster-bottom-sheet.react.js
@@ -19,10 +19,9 @@
import type { NavigationRoute } from '../navigation/route-names.js';
import { useTryLinkFID } from '../utils/farcaster-utils.js';
-const bottomSheetPaddingTop = 32;
const farcasterPromptHeight = 350;
const marginBottom = 40;
-const buttonHeight = 48;
+const buttonHeight = 61;
type Props = {
+navigation: RootNavigationProp<'ConnectFarcasterBottomSheet'>,
@@ -66,11 +65,7 @@
React.useLayoutEffect(() => {
setContentHeight(
- bottomSheetPaddingTop +
- farcasterPromptHeight +
- marginBottom +
- buttonHeight +
- insets.bottom,
+ farcasterPromptHeight + marginBottom + buttonHeight + insets.bottom,
);
}, [insets.bottom, setContentHeight]);
@@ -117,7 +112,7 @@
paddingHorizontal: 16,
},
promptContainer: {
- marginBottom: 40,
+ marginBottom,
},
});

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 7:24 PM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2437314
Default Alt Text
D13871.diff (1 KB)

Event Timeline