From 34205bd05e3a0125b309a4c1e614e1663099f30f Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Fri, 27 Apr 2018 13:12:15 -0300 Subject: [PATCH 1/3] Fix upload image to display (#1638) --- app/components/file_attachment_list/file_attachment_image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/file_attachment_list/file_attachment_image.js b/app/components/file_attachment_list/file_attachment_image.js index 833da5c80..7afe1f3b7 100644 --- a/app/components/file_attachment_list/file_attachment_image.js +++ b/app/components/file_attachment_list/file_attachment_image.js @@ -138,7 +138,7 @@ export default class FileAttachmentImage extends PureComponent { ref={this.handleCapturePreviewRef} style={imageStyle} defaultSource={thumb} - tintDefaultSource={true} + tintDefaultSource={!file.localPath} filename={file.name} resizeMode={resizeMode} resizeMethod={resizeMethod} From 98458057f74ad09ba95e73fc005e737eda91979b Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Fri, 27 Apr 2018 15:17:17 -0300 Subject: [PATCH 2/3] Bump iOS build number to 100 (#1639) --- ios/Mattermost.xcodeproj/project.pbxproj | 4 ++-- ios/Mattermost/Info.plist | 2 +- ios/MattermostShare/Info.plist | 2 +- ios/MattermostTests/Info.plist | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ios/Mattermost.xcodeproj/project.pbxproj b/ios/Mattermost.xcodeproj/project.pbxproj index 7598e3277..8ce35e7bb 100644 --- a/ios/Mattermost.xcodeproj/project.pbxproj +++ b/ios/Mattermost.xcodeproj/project.pbxproj @@ -2468,7 +2468,7 @@ CODE_SIGN_ENTITLEMENTS = Mattermost/Mattermost.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 99; + CURRENT_PROJECT_VERSION = 100; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = UQ8HT4Q2XM; ENABLE_BITCODE = NO; @@ -2517,7 +2517,7 @@ CODE_SIGN_ENTITLEMENTS = Mattermost/Mattermost.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 99; + CURRENT_PROJECT_VERSION = 100; DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = UQ8HT4Q2XM; ENABLE_BITCODE = NO; diff --git a/ios/Mattermost/Info.plist b/ios/Mattermost/Info.plist index 42318ba5a..a72d89e70 100644 --- a/ios/Mattermost/Info.plist +++ b/ios/Mattermost/Info.plist @@ -34,7 +34,7 @@ CFBundleVersion - 99 + 100 ITSAppUsesNonExemptEncryption LSRequiresIPhoneOS diff --git a/ios/MattermostShare/Info.plist b/ios/MattermostShare/Info.plist index 34af44e27..31becd995 100644 --- a/ios/MattermostShare/Info.plist +++ b/ios/MattermostShare/Info.plist @@ -23,7 +23,7 @@ CFBundleShortVersionString 1.8.0 CFBundleVersion - 99 + 100 NSAppTransportSecurity NSAllowsArbitraryLoads diff --git a/ios/MattermostTests/Info.plist b/ios/MattermostTests/Info.plist index a93b4cbdf..39d0c64c7 100644 --- a/ios/MattermostTests/Info.plist +++ b/ios/MattermostTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 99 + 100 From 97264a6286b8675ea08f31c6d68a72df344cc98d Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Fri, 27 Apr 2018 15:17:30 -0300 Subject: [PATCH 3/3] Bump Android build number to 100 (#1640) --- android/app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 6a8b3f043..4a0eec9fe 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -111,7 +111,7 @@ android { applicationId "com.mattermost.rnbeta" minSdkVersion 21 targetSdkVersion 23 - versionCode 99 + versionCode 100 versionName "1.8.0" multiDexEnabled true ndk {