Skip to content

Commit

Permalink
Merge pull request #4878 from Expensify/AndrewGable-cherry-pick-stagi…
Browse files Browse the repository at this point in the history
…ng-4871
  • Loading branch information
OSBotify authored Aug 27, 2021
2 parents 230b728 + 7428bc6 commit 2b3fe1e
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001008800
versionName "1.0.88-0"
versionCode 1001008801
versionName "1.0.88-1"
}
splits {
abi {
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensify/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.88.0</string>
<string>1.0.88.1</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensifyTests/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.88.0</string>
<string>1.0.88.1</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": "new.expensify",
"version": "1.0.88-0",
"version": "1.0.88-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.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const BaseAnchorForCommentsOnly = ({
props.isAttachment
? (
<Pressable onPress={() => {
fileDownload(href);
fileDownload(href, fileName);
}}
>
<AttachmentView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const BaseAnchorForCommentsOnly = ({
isAttachment
? (
<Pressable onPress={() => {
fileDownload(href);
fileDownload(href, fileName);
}}
>
<AttachmentView
Expand Down
9 changes: 6 additions & 3 deletions src/components/AttachmentView.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {Paperclip, Download} from './Icon/Expensicons';
import withLocalize, {withLocalizePropTypes} from './withLocalize';
import compose from '../libs/compose';
import Text from './Text';
import Tooltip from './Tooltip';

const propTypes = {
/** URL to full-sized attachment */
Expand Down Expand Up @@ -63,9 +64,11 @@ const AttachmentView = (props) => {
</View>
<Text style={[styles.textStrong]}>{props.file && props.file.name}</Text>
{props.shouldShowDownloadIcon && (
<View style={styles.ml2}>
<Icon src={Download} />
</View>
<Tooltip text={props.translate('common.download')}>
<View style={styles.ml2}>
<Icon src={Download} />
</View>
</Tooltip>
)}
</View>
);
Expand Down

0 comments on commit 2b3fe1e

Please sign in to comment.