Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3164442
D13870.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
D13870.diff
View Options
diff --git a/native/user-profile/user-profile-constants.js b/native/user-profile/user-profile-constants.js
--- a/native/user-profile/user-profile-constants.js
+++ b/native/user-profile/user-profile-constants.js
@@ -2,8 +2,6 @@
export const userProfileUserInfoContainerHeight = 90;
-export const userProfileBottomPadding = 40;
-
export const userProfileMenuButtonHeight = 24;
export const userProfileActionButtonHeight = 54;
diff --git a/native/user-profile/user-profile.react.js b/native/user-profile/user-profile.react.js
--- a/native/user-profile/user-profile.react.js
+++ b/native/user-profile/user-profile.react.js
@@ -16,7 +16,6 @@
import UserProfileAvatar from './user-profile-avatar.react.js';
import {
userProfileUserInfoContainerHeight,
- userProfileBottomPadding,
userProfileMenuButtonHeight,
userProfileActionButtonHeight,
} from './user-profile-constants.js';
@@ -55,10 +54,7 @@
const insets = useSafeAreaInsets();
React.useLayoutEffect(() => {
- let height =
- insets.bottom +
- userProfileUserInfoContainerHeight +
- userProfileBottomPadding;
+ let height = insets.bottom + userProfileUserInfoContainerHeight;
if (userProfileThreadInfo) {
height += userProfileMenuButtonHeight;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 7:22 PM (21 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2437312
Default Alt Text
D13870.diff (1 KB)
Attached To
Mode
D13870: [native] Get rid of userProfileBottomPadding
Attached
Detach File
Event Timeline
Log In to Comment