feat/preview-files #13

Merged
Vitalik merged 3 commits from feat/preview-files into master 9 months ago
Collaborator
There is no content yet.
YaroslavBerkuta added 2 commits 9 months ago
YaroslavBerkuta requested review from Vitalik 9 months ago
YaroslavBerkuta requested review from Developers 9 months ago
Vitalik reviewed 9 months ago
package.json Outdated
"deprecated-react-native-prop-types": "^4.1.0",
"events": "^3.3.0",
"ffmpeg-kit-react-native": "^5.1.0",
"i": "^0.3.7",
Owner

видалити

видалити
Poster
Collaborator

видалив

видалив
Vitalik marked this conversation as resolved
Vitalik reviewed 9 months ago
package.json Outdated
"lodash": "^4.17.21",
"mime": "^3.0.0",
"moment": "^2.29.4",
"npm": "^10.4.0",
Owner

видалити

видалити
Poster
Collaborator

видалив

видалив
Vitalik marked this conversation as resolved
Vitalik reviewed 9 months ago
package.json Outdated
"@react-navigation/native-stack": "^6.9.12",
"@react-navigation/stack": "^6.3.16",
"@tomlangan/react-native-sound-level": "^1.2.1",
"@types/react-native-pdf-lib": "^0.2.3",
Owner

в devDepends

в devDepends
Poster
Collaborator

видалив

видалив
Vitalik marked this conversation as resolved
Vitalik reviewed 9 months ago
const previewFile = (url: string) => {
try {
function getUrlExtension(link: string) {
Owner

винести

винести
Poster
Collaborator

виніс в fs helper

виніс в fs helper
Vitalik marked this conversation as resolved
Vitalik reviewed 9 months ago
uri: string
}
export const WebViewWrapper: FC<IProps> = ({ uri }) => {
Owner

це не елемент, краще якись layout

це не елемент, краще якись layout
Poster
Collaborator

видалив цей компонент він вже не потрібний

видалив цей компонент він вже не потрібний
Vitalik marked this conversation as resolved
Vitalik reviewed 9 months ago
const persent = (height / originWidth) * 100
return (persent / 100) * width
}
// const calcHeight = (height: number, originWidth: number) => {
Owner

видалити

видалити
Poster
Collaborator

видалив

видалив
Vitalik marked this conversation as resolved
YaroslavBerkuta added 1 commit 9 months ago
Vitalik merged commit 3f734beaf8 into master 9 months ago
Vitalik deleted branch feat/preview-files 9 months ago
Vitalik referenced this issue from a commit 9 months ago

Reviewers

Vitalik was requested for review 9 months ago
task-me/Developers was requested for review 9 months ago
The pull request has been merged as 3f734beaf8.
Sign in to join this conversation.
No reviewers
task-me/Developers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.