From 27d45bbd53a2d17124ef76245fa8bc13253eb458 Mon Sep 17 00:00:00 2001 From: ShridharGoel <35566748+ShridharGoel@users.noreply.github.com> Date: Thu, 2 May 2024 19:31:34 +0530 Subject: [PATCH] Update --- package-lock.json | 2 +- src/components/ClientSideLoggingToolMenu/index.ios.tsx | 4 ++-- src/components/ProfilingToolMenu/index.ios.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5962d3b29504..e57869f5c63b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -100,7 +100,7 @@ "react-native-linear-gradient": "^2.8.1", "react-native-localize": "^2.2.6", "react-native-modal": "^13.0.0", - "react-native-onyx": "^2.0.35", + "react-native-onyx": "2.0.35", "react-native-pager-view": "6.2.3", "react-native-pdf": "6.7.3", "react-native-performance": "^5.1.0", diff --git a/src/components/ClientSideLoggingToolMenu/index.ios.tsx b/src/components/ClientSideLoggingToolMenu/index.ios.tsx index ef0590edabbb..78ffccf612a2 100644 --- a/src/components/ClientSideLoggingToolMenu/index.ios.tsx +++ b/src/components/ClientSideLoggingToolMenu/index.ios.tsx @@ -2,7 +2,7 @@ import React, {useState} from 'react'; import Share from 'react-native-share'; import useEnvironment from '@hooks/useEnvironment'; import type {Log} from '@libs/Console'; -import getFolderPathSuffix from '@libs/getFolderPathSuffix'; +import getDownloadFolderPathSuffixForIOS from '@libs/getDownloadFolderPathSuffixForIOS'; import localFileCreate from '@libs/localFileCreate'; import CONST from '@src/CONST'; import BaseClientSideLoggingToolMenu from './BaseClientSideLoggingToolMenu'; @@ -32,7 +32,7 @@ function ClientSideLoggingToolMenu() { onEnableLogging={() => setFile(undefined)} onDisableLogging={createFile} onShareLogs={shareLogs} - displayPath={`${CONST.NEW_EXPENSIFY_PATH}${getFolderPathSuffix(environment)}/${file?.newFileName ?? ''}`} + displayPath={`${CONST.NEW_EXPENSIFY_PATH}${getDownloadFolderPathSuffixForIOS(environment)}/${file?.newFileName ?? ''}`} /> ); } diff --git a/src/components/ProfilingToolMenu/index.ios.tsx b/src/components/ProfilingToolMenu/index.ios.tsx index c257267a0dcd..45400b6a6959 100644 --- a/src/components/ProfilingToolMenu/index.ios.tsx +++ b/src/components/ProfilingToolMenu/index.ios.tsx @@ -1,7 +1,7 @@ import React from 'react'; import RNFS from 'react-native-fs'; import useEnvironment from '@hooks/useEnvironment'; -import getFolderPathSuffix from '@libs/getFolderPathSuffix'; +import getDownloadFolderPathSuffixForIOS from '@libs/getDownloadFolderPathSuffixForIOS'; import CONST from '@src/CONST'; import BaseProfilingToolMenu from './BaseProfilingToolMenu'; @@ -11,7 +11,7 @@ function ProfilingToolMenu() { return ( ); }