Skip to content

Commit

Permalink
Merge pull request #3949 from Expensify/cherry-pick-staging-3908
Browse files Browse the repository at this point in the history
  • Loading branch information
OSBotify authored Jul 9, 2021
2 parents 92756ea + 28814e5 commit 9241854
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 17 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001007601
versionName "1.0.76-1"
versionCode 1001007602
versionName "1.0.76-2"
}
splits {
abi {
Expand Down
2 changes: 1 addition & 1 deletion ios/ExpensifyCash/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.0.76.1</string>
<string>1.0.76.2</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/ExpensifyCashTests/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.0.76.1</string>
<string>1.0.76.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": "expensify.cash",
"version": "1.0.76-1",
"version": "1.0.76-2",
"author": "Expensify, Inc.",
"homepage": "https://expensify.cash",
"description": "Expensify.cash is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
Expand Down
13 changes: 2 additions & 11 deletions src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@ class ReportScreen extends React.Component {
this.storeCurrentlyViewedReport();
}

componentDidUpdate(prevProps) {
const reportChanged = this.props.route.params.reportID !== prevProps.route.params.reportID;

if (reportChanged) {
this.prepareTransition();
this.storeCurrentlyViewedReport();
}
}

componentWillUnmount() {
clearTimeout(this.loadingTimerId);
}
Expand Down Expand Up @@ -73,7 +64,7 @@ class ReportScreen extends React.Component {
this.setState({isLoading: true});

clearTimeout(this.loadingTimerId);
this.loadingTimerId = setTimeout(() => this.setState({isLoading: false}), 300);
this.loadingTimerId = setTimeout(() => this.setState({isLoading: false}), 150);
}

/**
Expand All @@ -94,7 +85,7 @@ class ReportScreen extends React.Component {

<FullScreenLoadingIndicator visible={this.shouldShowLoader()} />

<ReportView reportID={this.getReportID()} />
{!this.shouldShowLoader() && <ReportView reportID={this.getReportID()} />}
</ScreenWrapper>
);
}
Expand Down

0 comments on commit 9241854

Please sign in to comment.