-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: IOU Scan - In dark mode, the damaged PDF - file is barely visible. #40607
Merged
hayata-suenaga
merged 19 commits into
Expensify:main
from
Krishna2323:krishna2323/issue/39356
Jun 5, 2024
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
df364c5
fix: IOU Scan - In dark mode, the damaged PDF - file is barely visible.
Krishna2323 1b4bf57
Merge branch 'Expensify:main' into krishna2323/issue/39356
Krishna2323 1e046d8
fix: show corrupted pdf alert for native devices.
Krishna2323 2288b18
spacing improvement.
Krishna2323 24577f1
Merge branch 'Expensify:main' into krishna2323/issue/39356
Krishna2323 f258c08
add ReceiptSlash icon for corrupt pdf's.
Krishna2323 dbc3286
Merge branch 'Expensify:main' into krishna2323/issue/39356
Krishna2323 d6a166b
receipt slash icon size update.
Krishna2323 8745bc8
fix stylings.
Krishna2323 bbcea3c
feat: prevent uploading corrupt pdf's.
Krishna2323 eb01458
remove changes from MoneyRequestConfirmationList.
Krishna2323 2eeadec
Merge branch 'Expensify:main' into krishna2323/issue/39356
Krishna2323 31caba2
update MoneyRequestConfirmationList.
Krishna2323 601eb77
Merge branch 'Expensify:main' into krishna2323/issue/39356
Krishna2323 075868d
minor updates and refactoring.
Krishna2323 dc778d7
add PDFThumbnailError component.
Krishna2323 1f93a1e
fix styling issues.
Krishna2323 16cb64f
Merge branch 'Expensify:main' into krishna2323/issue/39356
Krishna2323 364acd6
Merge branch 'Expensify:main' into krishna2323/issue/39356
Krishna2323 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,25 @@ | ||
import React from 'react'; | ||
import {View} from 'react-native'; | ||
import Icon from '@components/Icon'; | ||
import * as Expensicons from '@components/Icon/Expensicons'; | ||
import useTheme from '@hooks/useTheme'; | ||
import useThemeStyles from '@hooks/useThemeStyles'; | ||
import variables from '@styles/variables'; | ||
|
||
function PDFThumbnailError() { | ||
const styles = useThemeStyles(); | ||
const theme = useTheme(); | ||
|
||
return ( | ||
<View style={[styles.justifyContentCenter, styles.pdfErrorPlaceholder, styles.alignItemsCenter]}> | ||
<Icon | ||
src={Expensicons.ReceiptSlash} | ||
width={variables.receiptPlaceholderIconWidth} | ||
height={variables.receiptPlaceholderIconHeight} | ||
fill={theme.icon} | ||
/> | ||
</View> | ||
); | ||
} | ||
|
||
export default PDFThumbnailError; |
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB: If we replace the wording from Image to Attachment for the translate key, should we change the function name to
showAttachmentCorruptionAlert
?