Skip to content

Commit 529f2d3

Browse files
committed
Merge branch 'main' into fix/22613
2 parents a6a9598 + ff54c9e commit 529f2d3

File tree

67 files changed

+368
-1433
lines changed

Some content is hidden

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

67 files changed

+368
-1433
lines changed

.github/ISSUE_TEMPLATE/DesignDocIssue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Main issue: <Issue Link>
88
Doc section: <Doc Link>
99
Project: <Project Link>
1010

11-
# <Feature Description>
11+
# Feature Description
1212
<!-- Describe the section of the doc that this issue is covering, along with any relevant screenshots -->
1313

1414
# Manual Test Steps
1515

16-
#Automated Tests
16+
# Automated Tests

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ android {
106106
minSdkVersion rootProject.ext.minSdkVersion
107107
targetSdkVersion rootProject.ext.targetSdkVersion
108108
multiDexEnabled rootProject.ext.multiDexEnabled
109-
versionCode 1001034306
110-
versionName "1.3.43-6"
109+
versionCode 1001034400
110+
versionName "1.3.44-0"
111111
}
112112

113113
splits {

ios/NewExpensify/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundlePackageType</key>
2020
<string>APPL</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>1.3.43</string>
22+
<string>1.3.44</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleURLTypes</key>
@@ -32,7 +32,7 @@
3232
</dict>
3333
</array>
3434
<key>CFBundleVersion</key>
35-
<string>1.3.43.6</string>
35+
<string>1.3.44.0</string>
3636
<key>ITSAppUsesNonExemptEncryption</key>
3737
<false/>
3838
<key>LSApplicationQueriesSchemes</key>

ios/NewExpensifyTests/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.3.43</string>
18+
<string>1.3.44</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>1.3.43.6</string>
22+
<string>1.3.44.0</string>
2323
</dict>
2424
</plist>
10.8 KB
Binary file not shown.

package-lock.json

Lines changed: 8 additions & 8 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": "1.3.43-6",
3+
"version": "1.3.44-0",
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.",
@@ -119,7 +119,7 @@
119119
"react-native-pdf": "^6.6.2",
120120
"react-native-performance": "^4.0.0",
121121
"react-native-permissions": "^3.0.1",
122-
"react-native-picker-select": "git+https://github.com/Expensify/react-native-picker-select.git#107b3786ae6bc155dec05c7fc5ee525d3421dc21",
122+
"react-native-picker-select": "git+https://github.com/Expensify/react-native-picker-select.git#eae05855286dc699954415cc1d629bfd8e8e47e2",
123123
"react-native-plaid-link-sdk": "^10.0.0",
124124
"react-native-qrcode-svg": "^6.2.0",
125125
"react-native-quick-sqlite": "^8.0.0-beta.2",

src/ROUTES.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export default {
3535
SETTINGS_WORKSPACES: 'settings/workspaces',
3636
SETTINGS_SECURITY: 'settings/security',
3737
SETTINGS_CLOSE: 'settings/security/closeAccount',
38-
SETTINGS_PASSWORD: 'settings/security/password',
3938
SETTINGS_ABOUT: 'settings/about',
4039
SETTINGS_APP_DOWNLOAD_LINKS: 'settings/about/app-download-links',
4140
SETTINGS_PAYMENTS: 'settings/payments',

src/components/AvatarWithImagePicker.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ class AvatarWithImagePicker extends React.Component {
226226

227227
this.setState({
228228
isAvatarCropModalOpen: true,
229+
isMenuVisible: false,
229230
imageUri: image.uri,
230231
imageName: image.name,
231232
imageType: image.type,
@@ -279,6 +280,7 @@ class AvatarWithImagePicker extends React.Component {
279280
onPress={() => this.setState({isMenuVisible: true})}
280281
accessibilityRole={CONST.ACCESSIBILITY_ROLE.IMAGEBUTTON}
281282
accessibilityLabel={this.props.translate('avatarWithImagePicker.editImage')}
283+
disabled={this.state.isAvatarCropModalOpen}
282284
>
283285
<View style={[styles.pRelative, styles.avatarLarge]}>
284286
<OfflineWithFeedback

src/components/Composer/index.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import themeColors from '../../styles/themes/default';
1010
import updateIsFullComposerAvailable from '../../libs/ComposerUtils/updateIsFullComposerAvailable';
1111
import * as ComposerUtils from '../../libs/ComposerUtils';
1212
import * as Browser from '../../libs/Browser';
13+
import * as StyleUtils from '../../styles/StyleUtils';
1314
import withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions';
1415
import compose from '../../libs/compose';
1516
import styles from '../../styles/styles';
@@ -306,11 +307,18 @@ class Composer extends React.Component {
306307
* @param {ClipboardEvent} event
307308
*/
308309
handlePaste(event) {
309-
if (!this.props.checkComposerVisibility()) {
310+
event.preventDefault();
311+
312+
const isVisible = this.props.checkComposerVisibility();
313+
const isFocused = this.textInput.isFocused();
314+
315+
if (!(isVisible || isFocused)) {
310316
return;
311317
}
312318

313-
event.preventDefault();
319+
if (this.textInput.id !== event.target.id) {
320+
return;
321+
}
314322

315323
const {files, types} = event.clipboardData;
316324
const TEXT_HTML = 'text/html';
@@ -475,6 +483,7 @@ class Composer extends React.Component {
475483
// We are hiding the scrollbar to prevent it from reducing the text input width,
476484
// so we can get the correct scroll height while calculating the number of lines.
477485
this.state.numberOfLines < this.props.maxLines ? styles.overflowHidden : {},
486+
StyleUtils.getComposeTextAreaPadding(this.props.numberOfLines),
478487
]}
479488
/* eslint-disable-next-line react/jsx-props-no-spreading */
480489
{...propsWithoutStyles}

0 commit comments

Comments
 (0)