Page MenuHomePhabricator

D13871.id45643.diff
No OneTemporary

D13871.id45643.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 21, 10:55 PM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2548537
Default Alt Text
D13871.id45643.diff (1 KB)

Event Timeline