Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3164452
D13871.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13871.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D13871: [native] Get rid of bottomSheetPaddingTop in ConnectFarcasterBottomSheet
Attached
Detach File
Event Timeline
Log In to Comment