Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3332114
D13871.id45643.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.id45643.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 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)
Attached To
Mode
D13871: [native] Get rid of bottomSheetPaddingTop in ConnectFarcasterBottomSheet
Attached
Detach File
Event Timeline
Log In to Comment