Page MenuHomePhabricator

D13870.diff
No OneTemporary

D13870.diff

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

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)

Event Timeline