Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Expensify/App into jpersaud_osbotif…
Browse files Browse the repository at this point in the history
…y_app
  • Loading branch information
justinpersaud committed Aug 1, 2023
2 parents 66bb752 + 73e097c commit c20e7ac
Show file tree
Hide file tree
Showing 129 changed files with 2,509 additions and 2,524 deletions.
3 changes: 2 additions & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import Onyx from 'react-native-onyx';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import {PortalProvider} from '@gorhom/portal';
import './fonts.css';
import ComposeProviders from '../src/components/ComposeProviders';
import HTMLEngineProvider from '../src/components/HTMLEngineProvider';
Expand All @@ -14,7 +15,7 @@ Onyx.init({

const decorators = [
(Story) => (
<ComposeProviders components={[OnyxProvider, LocaleContextProvider, HTMLEngineProvider, SafeAreaProvider]}>
<ComposeProviders components={[OnyxProvider, LocaleContextProvider, HTMLEngineProvider, SafeAreaProvider, PortalProvider]}>
<Story />
</ComposeProviders>
),
Expand Down
1 change: 1 addition & 0 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = ({config}) => {
'react-native$': '@expensify/react-native-web',
'react-native-web': '@expensify/react-native-web',
'@react-native-community/netinfo': path.resolve(__dirname, '../__mocks__/@react-native-community/netinfo.js'),
'@react-navigation/native': path.resolve(__dirname, '../__mocks__/@react-navigation/native'),
};

// Necessary to overwrite the values in the existing DefinePlugin hardcoded to the Config staging values
Expand Down
8 changes: 8 additions & 0 deletions __mocks__/@react-navigation/native/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {useIsFocused as realUseIsFocused} from '@react-navigation/native';

// We only want this mocked for storybook, not jest
const useIsFocused = process.env.NODE_ENV === 'test' ? realUseIsFocused : () => true;

export * from '@react-navigation/core';
export * from '@react-navigation/native';
export {useIsFocused};
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001034601
versionName "1.3.46-1"
versionCode 1001034800
versionName "1.3.48-0"
}

splits {
Expand Down
2 changes: 1 addition & 1 deletion assets/animations/ExpensifyLounge.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/animations/Fireworks.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/animations/Hands.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/animations/PreferencesDJ.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/animations/ReviewingBankInfo.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/animations/WorkspacePlanet.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.46</string>
<string>1.3.48</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.3.46.1</string>
<string>1.3.48.0</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
4 changes: 2 additions & 2 deletions ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.46</string>
<string>1.3.48</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.3.46.1</string>
<string>1.3.48.0</string>
</dict>
</plist>
Loading

0 comments on commit c20e7ac

Please sign in to comment.