Skip to content

Commit 1353eb6

Browse files
committed
merge main
2 parents 6205beb + 0ca1c05 commit 1353eb6

55 files changed

Lines changed: 548 additions & 554 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cherryPick.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,11 @@ jobs:
254254
status: custom
255255
custom_payload: |
256256
{
257-
"channel": "#deployer",
258-
"attachments": [{
259-
"color": "#DB4545",
260-
"text": "🚨 Cherry-pick to ${{ inputs.TARGET }} has conflicts and requires manual resolution.\nOriginal PR: ${{ inputs.PULL_REQUEST_URL }}\nConflict PR: ${{ steps.createPullRequest.outputs.PR_URL }}"
257+
channel: '#deployer',
258+
attachments: [{
259+
color: "#DB4545",
260+
pretext: `<!subteam^S4TJJ3PSL>`,
261+
text: "🚨 Cherry-pick to ${{ inputs.TARGET }} has conflicts and requires manual resolution.\nOriginal PR: ${{ inputs.PULL_REQUEST_URL }}\nConflict PR: ${{ steps.createPullRequest.outputs.PR_URL }}"
261262
}]
262263
}
263264
env:

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ jobs:
341341
needs: prep
342342
runs-on: macos-15-xlarge
343343
env:
344-
DEVELOPER_DIR: /Applications/Xcode_16.2.0.app/Contents/Developer
344+
DEVELOPER_DIR: /Applications/Xcode_16.4.0.app/Contents/Developer
345345
SHOULD_BUILD_APP: ${{ github.ref == 'refs/heads/staging' || fromJSON(needs.prep.outputs.IS_CHERRY_PICK) }}
346346
steps:
347347
- name: Checkout

Mobile-Expensify

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ android {
114114
minSdkVersion rootProject.ext.minSdkVersion
115115
targetSdkVersion rootProject.ext.targetSdkVersion
116116
multiDexEnabled rootProject.ext.multiDexEnabled
117-
versionCode 1009019400
118-
versionName "9.1.94-0"
117+
versionCode 1009019402
118+
versionName "9.1.94-2"
119119
// Supported language variants must be declared here to avoid from being removed during the compilation.
120120
// This also helps us to not include unnecessary language variants in the APK.
121121
resConfigs "en", "es"

ios/NewExpensify/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</dict>
4545
</array>
4646
<key>CFBundleVersion</key>
47-
<string>9.1.94.0</string>
47+
<string>9.1.94.2</string>
4848
<key>FullStory</key>
4949
<dict>
5050
<key>OrgId</key>

ios/NotificationServiceExtension/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleShortVersionString</key>
1414
<string>9.1.94</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.1.94.0</string>
16+
<string>9.1.94.2</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionPointIdentifier</key>

ios/ShareViewController/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleShortVersionString</key>
1414
<string>9.1.94</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.1.94.0</string>
16+
<string>9.1.94.2</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionAttributes</key>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "new.expensify",
3-
"version": "9.1.94-0",
3+
"version": "9.1.94-2",
44
"author": "Expensify, Inc.",
55
"homepage": "https://new.expensify.com",
66
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
@@ -46,7 +46,7 @@
4646
"test:debug": "TZ=utc NODE_OPTIONS='--inspect-brk --experimental-vm-modules' jest --runInBand",
4747
"perf-test": "NODE_OPTIONS=--experimental-vm-modules npx reassure",
4848
"typecheck": "NODE_OPTIONS=--max_old_space_size=8192 tsc",
49-
"lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=260 --cache --cache-location=node_modules/.cache/eslint",
49+
"lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=259 --cache --cache-location=node_modules/.cache/eslint",
5050
"lint-changed": "NODE_OPTIONS=--max_old_space_size=8192 ./scripts/lintChanged.sh",
5151
"lint-watch": "npx eslint-watch --watch --changed",
5252
"shellcheck": "./scripts/shellCheck.sh",

src/components/CurrencyPicker.tsx

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import {useNavigation, useRoute} from '@react-navigation/native';
21
import type {ReactNode} from 'react';
3-
import React, {Fragment, useEffect, useState} from 'react';
2+
import React, {Fragment, useState} from 'react';
43
import useLocalize from '@hooks/useLocalize';
54
import useThemeStyles from '@hooks/useThemeStyles';
65
import {getCurrencySymbol} from '@libs/CurrencyUtils';
@@ -38,38 +37,15 @@ type CurrencyPickerProps = {
3837

3938
/** Should show the full page offline view (whenever the user is offline) */
4039
shouldShowFullPageOfflineView?: boolean;
41-
42-
/** Should sync picker visibility with navigation params (for modal state restoration) */
43-
shouldSyncPickerVisibilityWithNavigation?: boolean;
44-
45-
/** Should save currency value in navigation params */
46-
shouldSaveCurrencyInNavigation?: boolean;
4740
};
4841

49-
function CurrencyPicker({
50-
label,
51-
value,
52-
errorText,
53-
headerContent,
54-
excludeCurrencies,
55-
disabled = false,
56-
shouldShowFullPageOfflineView = false,
57-
shouldSyncPickerVisibilityWithNavigation = false,
58-
shouldSaveCurrencyInNavigation = false,
59-
onInputChange = () => {},
60-
}: CurrencyPickerProps) {
42+
function CurrencyPicker({label, value, errorText, headerContent, excludeCurrencies, disabled = false, shouldShowFullPageOfflineView = false, onInputChange = () => {}}: CurrencyPickerProps) {
6143
const {translate} = useLocalize();
62-
const route = useRoute();
63-
const navigation = useNavigation();
64-
const isPickerVisibleParam = route.params && 'isPickerVisible' in route.params && route.params.isPickerVisible === 'true';
65-
const [isPickerVisible, setIsPickerVisible] = useState(isPickerVisibleParam ?? false);
44+
const [isPickerVisible, setIsPickerVisible] = useState(false);
6645
const styles = useThemeStyles();
6746

6847
const hidePickerModal = () => {
6948
setIsPickerVisible(false);
70-
if (shouldSaveCurrencyInNavigation) {
71-
Navigation.setParams({currency: value});
72-
}
7349
};
7450

7551
const updateInput = (item: CurrencyListItem) => {
@@ -79,13 +55,6 @@ function CurrencyPicker({
7955

8056
const BlockingComponent = shouldShowFullPageOfflineView ? FullPageOfflineBlockingView : Fragment;
8157

82-
useEffect(() => {
83-
if (!shouldSyncPickerVisibilityWithNavigation) {
84-
return;
85-
}
86-
Navigation.setParams({isPickerVisible: String(isPickerVisible)});
87-
}, [isPickerVisible, navigation, shouldSyncPickerVisibilityWithNavigation]);
88-
8958
return (
9059
<>
9160
<MenuItemWithTopDescription

0 commit comments

Comments
 (0)