diff --git a/android/app/build.gradle b/android/app/build.gradle index 0e6b23c33d0b..496e523991db 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -152,8 +152,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001017902 - versionName "1.1.79-2" + versionCode 1001017903 + versionName "1.1.79-3" } splits { abi { diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index 5728981e534e..f70b8da703df 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -30,7 +30,7 @@ CFBundleVersion - 1.1.79.2 + 1.1.79.3 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index 577f7f5ecebb..814cd083c9a6 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.1.79.2 + 1.1.79.3 diff --git a/package-lock.json b/package-lock.json index 5cf58a57ea90..7173d498089c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.1.79-2", + "version": "1.1.79-3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 577c627353eb..7e915803aacf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.1.79-2", + "version": "1.1.79-3", "author": "Expensify, Inc.", "homepage": "https://new.expensify.com", "description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.", diff --git a/src/components/OptionsSelector.js b/src/components/OptionsSelector.js index 0073e864c9de..916e41005459 100755 --- a/src/components/OptionsSelector.js +++ b/src/components/OptionsSelector.js @@ -95,12 +95,6 @@ const propTypes = { /** Text to show in the confirm button (only visible if multiple options are selected) */ confirmButtonText: PropTypes.string, - /** True if the maximum number of options have been selected, false otherwise. */ - maxParticipantsReached: PropTypes.bool, - - /** Text to show if the maximum number of participants are reached */ - maxParticipantsReachedMessage: PropTypes.string, - /** Function to execute if the confirm button is pressed */ onConfirmSelection: PropTypes.func, @@ -138,8 +132,6 @@ const defaultProps = { autoFocus: true, shouldShowConfirmButton: false, confirmButtonText: undefined, - maxParticipantsReached: false, - maxParticipantsReachedMessage: undefined, onConfirmSelection: () => {}, shouldTextInputAppearBelowOptions: false, shouldShowOfflineMessage: false, @@ -332,10 +324,6 @@ class OptionsSelector extends Component { ? this.props.translate('common.confirm') : this.props.confirmButtonText; const shouldShowDefaultConfirmButton = !this.props.footerContent && defaultConfirmButtonText; - const defaultMaxParticipantsReachedMessage = _.isUndefined(this.props.maxParticipantsReachedMessage) - ? this.props.translate('common.maxParticipantsReached', {count: this.props.selectedOptions.length}) - : this.props.maxParticipantsReachedMessage; - const shouldShowMaxParticipantsMessage = this.props.maxParticipantsReached && defaultMaxParticipantsReachedMessage; const textInput = ( this.textInput = el} @@ -404,12 +392,7 @@ class OptionsSelector extends Component { {shouldShowFooter && ( - {shouldShowMaxParticipantsMessage && ( - - {defaultMaxParticipantsReachedMessage} - - )} - {!shouldShowMaxParticipantsMessage && this.props.shouldShowOfflineMessage && this.props.network.isOffline && ( + {this.props.shouldShowOfflineMessage && this.props.network.isOffline && ( {this.props.translate('session.offlineMessage')} diff --git a/src/pages/NewChatPage.js b/src/pages/NewChatPage.js index 3f95c0e6e9e0..b6cc4cdc3a2b 100755 --- a/src/pages/NewChatPage.js +++ b/src/pages/NewChatPage.js @@ -255,7 +255,6 @@ class NewChatPage extends Component { shouldFocusOnSelectRow={this.props.isGroupChat} shouldShowConfirmButton={this.props.isGroupChat} confirmButtonText={this.props.translate('newChatPage.createGroup')} - maxParticipantsReached={maxParticipantsReached} onConfirmSelection={this.props.isGroupChat ? this.createGroup : this.createChat} /> )} diff --git a/src/pages/iou/IOUCurrencySelection.js b/src/pages/iou/IOUCurrencySelection.js index a8dfad9ff257..3ea4072c4e8b 100644 --- a/src/pages/iou/IOUCurrencySelection.js +++ b/src/pages/iou/IOUCurrencySelection.js @@ -74,7 +74,6 @@ class IOUCurrencySelection extends Component { /** * Returns the sections needed for the OptionsSelector * - * @param {Boolean} maxParticipantsReached * @returns {Array} */ getSections() { diff --git a/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsSplit.js b/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsSplit.js index aa9b5a2fed36..ca503ce24f6b 100755 --- a/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsSplit.js +++ b/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsSplit.js @@ -229,7 +229,6 @@ class IOUParticipantsSplit extends Component { shouldDelayFocus shouldShowConfirmButton confirmButtonText={this.props.translate('common.next')} - maxParticipantsReached={maxParticipantsReached} onConfirmSelection={this.finalizeParticipants} />