-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c54e59
commit 84ef3bd
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from 'react'; | ||
import ScreenWrapper from '../components/ScreenWrapper'; | ||
import HeaderWithBackButton from '../components/HeaderWithBackButton'; | ||
import Navigation from '../libs/Navigation/Navigation'; | ||
import useLocalize from '../hooks/useLocalize'; | ||
import ReceiptSelector from './iou/ReceiptSelector'; | ||
|
||
function EditRequestReceiptPage() { | ||
const {translate} = useLocalize(); | ||
|
||
return ( | ||
<ScreenWrapper | ||
includeSafeAreaPaddingBottom={false} | ||
shouldEnableMaxHeight | ||
> | ||
<HeaderWithBackButton | ||
This comment has been minimized.
Sorry, something went wrong. |
||
title={translate('iou.amount')} | ||
onBackButtonPress={Navigation.goBack} | ||
/> | ||
<ReceiptSelector /> | ||
</ScreenWrapper> | ||
); | ||
} | ||
|
||
EditRequestReceiptPage.displayName = 'EditRequestReceiptPage'; | ||
|
||
export default EditRequestReceiptPage; |
We added
ScreenWrapper
but not the safe area padding, which caused an issue here