Skip to content

Commit 1f7206d

Browse files
authored
Merge pull request Expensify#63586 from daledah/fix/63080
fix: add padding bottom for private notes list page
2 parents 867235c + 3e42326 commit 1f7206d

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/pages/PrivateNotes/PrivateNotesListPage.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type NoteListItem = {
4040
function PrivateNotesListPage({report, accountID: sessionAccountID}: PrivateNotesListPageProps) {
4141
const route = useRoute<PlatformStackRouteProp<PrivateNotesNavigatorParamList, typeof SCREENS.PRIVATE_NOTES.LIST>>();
4242
const backTo = route.params.backTo;
43-
const [personalDetailsList] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST);
43+
const [personalDetailsList] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST, {canBeMissing: false});
4444
const styles = useThemeStyles();
4545
const {translate} = useLocalize();
4646
const getAttachmentValue = useCallback((item: NoteListItem) => ({reportID: item.reportID, accountID: Number(item.accountID), type: CONST.ATTACHMENT_TYPE.NOTE}), []);
@@ -88,10 +88,7 @@ function PrivateNotesListPage({report, accountID: sessionAccountID}: PrivateNote
8888
}, [report, personalDetailsList, sessionAccountID, translate, backTo]);
8989

9090
return (
91-
<ScreenWrapper
92-
includeSafeAreaPaddingBottom={false}
93-
testID={PrivateNotesListPage.displayName}
94-
>
91+
<ScreenWrapper testID={PrivateNotesListPage.displayName}>
9592
<HeaderWithBackButton
9693
title={translate('privateNotes.title')}
9794
shouldShowBackButton

0 commit comments

Comments
 (0)