Skip to content

Commit

Permalink
Merge pull request #9007 from Expensify/OSBotify-cherry-pick-staging-…
Browse files Browse the repository at this point in the history
…9002

🍒 Cherry pick PR #9002 to staging 🍒
  • Loading branch information
OSBotify authored May 13, 2022
2 parents 939b852 + c98d252 commit 7782405
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001016001
versionName "1.1.60-1"
versionCode 1001016002
versionName "1.1.60-2"
}
splits {
abi {
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.1.60.1</string>
<string>1.1.60.2</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.1.60.1</string>
<string>1.1.60.2</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
"version": "1.1.60-1",
"version": "1.1.60-2",
"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.",
Expand Down
5 changes: 4 additions & 1 deletion src/pages/home/report/ReportActionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ const propTypes = {
/** Callback executed on scroll */
onScroll: PropTypes.func.isRequired,

/** Function to load more chats */
loadMoreChats: PropTypes.func.isRequired,

...withDrawerPropTypes,
...windowDimensionsPropTypes,
};
Expand Down Expand Up @@ -165,7 +168,7 @@ class ReportActionsList extends React.Component {
keyExtractor={this.keyExtractor}
initialRowHeight={32}
initialNumToRender={this.calculateInitialNumToRender()}
onEndReached={this.loadMoreChats}
onEndReached={this.props.loadMoreChats}
onEndReachedThreshold={0.75}
ListFooterComponent={this.props.isLoadingReportActions
? <ActivityIndicator size="small" color={themeColors.spinner} />
Expand Down
2 changes: 2 additions & 0 deletions src/pages/home/report/ReportActionsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class ReportActionsView extends React.Component {
this.toggleFloatingMessageCounter = this.toggleFloatingMessageCounter.bind(this);
this.updateNewMarkerPosition = this.updateNewMarkerPosition.bind(this);
this.updateMessageCounterCount = this.updateMessageCounterCount.bind(this);
this.loadMoreChats = this.loadMoreChats.bind(this);
this.recordTimeToMeasureItemLayout = this.recordTimeToMeasureItemLayout.bind(this);
this.scrollToBottomAndUpdateLastRead = this.scrollToBottomAndUpdateLastRead.bind(this);
this.updateNewMarkerAndMarkReadOnce = _.once(this.updateNewMarkerAndMarkRead.bind(this));
Expand Down Expand Up @@ -417,6 +418,7 @@ class ReportActionsView extends React.Component {
sortedReportActions={this.sortedReportActions}
mostRecentIOUReportSequenceNumber={this.mostRecentIOUReportSequenceNumber}
isLoadingReportActions={this.props.isLoadingReportActions}
loadMoreChats={this.loadMoreChats}
/>
<PopoverReportActionContextMenu ref={ReportActionContextMenu.contextMenuRef} />
<EmojiPicker ref={EmojiPickerAction.emojiPickerRef} />
Expand Down

0 comments on commit 7782405

Please sign in to comment.