diff --git a/android/app/build.gradle b/android/app/build.gradle index 45b56d994a..a32f32b1f8 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -93,7 +93,7 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode VERSIONCODE as Integer - versionName "4.57.1" + versionName "4.57.2" vectorDrawables.useSupportLibrary = true if (!isFoss) { manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String] diff --git a/app/containers/markdown/index.tsx b/app/containers/markdown/index.tsx index 0efb1f7ff3..5add8e39b4 100644 --- a/app/containers/markdown/index.tsx +++ b/app/containers/markdown/index.tsx @@ -51,9 +51,9 @@ const Markdown: React.FC = ({ onLinkPress, isTranslated }: IMarkdownProps) => { - if (!msg || isTranslated) return null; + if (!msg) return null; - const tokens = md ?? parse(msg); + const tokens = !isTranslated && md ? md : parse(msg); if (isEmpty(tokens)) return null; diff --git a/app/containers/message/Message.stories.tsx b/app/containers/message/Message.stories.tsx index 78e8d9602c..610ff20495 100644 --- a/app/containers/message/Message.stories.tsx +++ b/app/containers/message/Message.stories.tsx @@ -135,8 +135,21 @@ export const Pinned = () => ( export const Translated = () => ( <> - - + ); diff --git a/ios/RocketChatRN.xcodeproj/project.pbxproj b/ios/RocketChatRN.xcodeproj/project.pbxproj index 9c28b3d3b8..dae136676c 100644 --- a/ios/RocketChatRN.xcodeproj/project.pbxproj +++ b/ios/RocketChatRN.xcodeproj/project.pbxproj @@ -2983,7 +2983,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.57.1; + MARKETING_VERSION = 4.57.2; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG"; @@ -3027,7 +3027,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.57.1; + MARKETING_VERSION = 4.57.2; MTL_FAST_MATH = YES; OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE"; PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService; diff --git a/ios/RocketChatRN/Info.plist b/ios/RocketChatRN/Info.plist index ee0dc98907..67dd1af86a 100644 --- a/ios/RocketChatRN/Info.plist +++ b/ios/RocketChatRN/Info.plist @@ -28,7 +28,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 4.57.1 + 4.57.2 CFBundleSignature ???? CFBundleURLTypes diff --git a/ios/ShareRocketChatRN/Info.plist b/ios/ShareRocketChatRN/Info.plist index 7029175b2c..9397f3c350 100644 --- a/ios/ShareRocketChatRN/Info.plist +++ b/ios/ShareRocketChatRN/Info.plist @@ -26,7 +26,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 4.57.1 + 4.57.2 CFBundleVersion 1 KeychainGroup diff --git a/package.json b/package.json index 5e2cd14e16..8c17d9587d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rocket-chat-reactnative", - "version": "4.57.1", + "version": "4.57.2", "private": true, "scripts": { "start": "react-native start",