Skip to content

Commit

Permalink
add lockHeight to Profile and SideBar Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gedu committed Mar 27, 2023
1 parent 81986b1 commit be4fdf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pages/home/sidebar/SidebarScreen/BaseSidebarScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class BaseSidebarScreen extends Component {
<ScreenWrapper
includeSafeAreaPaddingBottom={false}
style={[styles.sidebar]}
lockHeight
>
{({insets}) => (
<>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Profile/ProfilePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const ProfilePage = (props) => {
];

return (
<ScreenWrapper includeSafeAreaPaddingBottom={false}>
<ScreenWrapper includeSafeAreaPaddingBottom={false} lockHeight>
<HeaderWithCloseButton
title={props.translate('common.profile')}
shouldShowBackButton
Expand Down

0 comments on commit be4fdf1

Please sign in to comment.