From 6b1ee1a584f71f60e34a1ae562d14faef6b1368c Mon Sep 17 00:00:00 2001 From: Santhoshkumar Sellavel Date: Thu, 21 Oct 2021 03:51:38 +0530 Subject: [PATCH 1/2] Attachment preview cut out in comments fixed --- .../BaseAnchorForCommentsOnly/index.native.js | 9 ++++++--- src/components/AttachmentView.js | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.native.js b/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.native.js index 8d4fa01588b9..0890ba75b23c 100644 --- a/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.native.js +++ b/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly/index.native.js @@ -8,6 +8,7 @@ import PressableWithSecondaryInteraction from '../../PressableWithSecondaryInter import {showContextMenu} from '../../../pages/home/report/ContextMenu/ReportActionContextMenu'; import {CONTEXT_MENU_TYPES} from '../../../pages/home/report/ContextMenu/ContextMenuActions'; import AttachmentView from '../../AttachmentView'; +import styles from '../../../styles/styles'; /* * This is a default anchor component for regular links. @@ -24,9 +25,11 @@ const BaseAnchorForCommentsOnly = ({ return ( isAttachment ? ( - { - fileDownload(href, fileName); - }} + { + fileDownload(href, fileName); + }} > { - {props.file && props.file.name} + {props.file && props.file.name} {props.shouldShowDownloadIcon && ( From 5d16796576551f37e775f535d2fc58c17dea1718 Mon Sep 17 00:00:00 2001 From: OSBotify Date: Fri, 29 Oct 2021 22:09:22 +0000 Subject: [PATCH 2/2] Update version to 1.1.11-3 --- android/app/build.gradle | 4 ++-- ios/NewExpensify/Info.plist | 2 +- ios/NewExpensifyTests/Info.plist | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 6d2680b024da..b9eb08e7012c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -149,8 +149,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001011102 - versionName "1.1.11-2" + versionCode 1001011103 + versionName "1.1.11-3" } splits { abi { diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index 8819ec067c41..6bd037e031c4 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -31,7 +31,7 @@ CFBundleVersion - 1.1.11.2 + 1.1.11.3 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index adf8098b0b8a..57ac18c5a9f4 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.1.11.2 + 1.1.11.3 diff --git a/package-lock.json b/package-lock.json index 33dc0d7060d3..ff05dbe3f029 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.1.11-2", + "version": "1.1.11-3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 98fa918672f2..1d8f90ebc9ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.1.11-2", + "version": "1.1.11-3", "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.",