diff --git a/android/app/build.gradle b/android/app/build.gradle
index 4491255e210e..af8b857a136c 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 1001014000
- versionName "1.1.40-0"
+ versionCode 1001014001
+ versionName "1.1.40-1"
}
splits {
abi {
diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist
index 62faebbc0b09..751f770d6b46 100644
--- a/ios/NewExpensify/Info.plist
+++ b/ios/NewExpensify/Info.plist
@@ -31,7 +31,7 @@
CFBundleVersion
- 1.1.40.0
+ 1.1.40.1
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes
diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist
index 0f0f5e6358dc..3a2a527b9b2e 100644
--- a/ios/NewExpensifyTests/Info.plist
+++ b/ios/NewExpensifyTests/Info.plist
@@ -19,6 +19,6 @@
CFBundleSignature
????
CFBundleVersion
- 1.1.40.0
+ 1.1.40.1
diff --git a/package-lock.json b/package-lock.json
index ae2230e61dc1..19bbc0603858 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
- "version": "1.1.40-0",
+ "version": "1.1.40-1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 59011c60f4dc..bb2510c4a4bb 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
- "version": "1.1.40-0",
+ "version": "1.1.40-1",
"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/ImageWithSizeCalculation.js b/src/components/ImageWithSizeCalculation.js
index 003fb3247ef5..698da27c610e 100644
--- a/src/components/ImageWithSizeCalculation.js
+++ b/src/components/ImageWithSizeCalculation.js
@@ -1,10 +1,9 @@
import React, {PureComponent} from 'react';
-import {Image, ActivityIndicator} from 'react-native';
+import {Image} from 'react-native';
import PropTypes from 'prop-types';
import Log from '../libs/Log';
import styles from '../styles/styles';
import makeCancellablePromise from '../libs/MakeCancellablePromise';
-import themeColors from '../styles/themes/default';
const propTypes = {
/** Url for image to display */
@@ -30,14 +29,6 @@ const defaultProps = {
* it can be appropriately resized.
*/
class ImageWithSizeCalculation extends PureComponent {
- constructor(props) {
- super(props);
-
- this.state = {
- isLoading: true,
- };
- }
-
componentDidMount() {
this.calculateImageSize();
}
@@ -94,26 +85,15 @@ class ImageWithSizeCalculation extends PureComponent {
render() {
return (
- <>
- this.setState({isLoading: false})}
- />
- {this.state.isLoading && (
-
- )}
- >
+
);
}
}