Skip to content

Commit

Permalink
Fix payment request icon (#645)
Browse files Browse the repository at this point in the history
* fix icon

* update snapshots
  • Loading branch information
brunobar79 authored May 14, 2019
1 parent 3061801 commit 83ce3f2
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@ exports[`ReceiveRequest should render correctly 1`] = `
actionDescription="Request assets from friends"
actionTitle="Request"
icon={
<Icon
allowFontScaling={false}
<IconClass
brand={false}
color="#000000"
name="download"
light={false}
name="hand-holding"
regular={false}
size={30}
solid={true}
/>
Expand Down
3 changes: 2 additions & 1 deletion app/components/UI/ReceiveRequest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import ElevatedView from 'react-native-elevated-view';
import AntIcon from 'react-native-vector-icons/AntDesign';
import SimpleLineIcons from 'react-native-vector-icons/SimpleLineIcons';
import FontAwesome from 'react-native-vector-icons/FontAwesome';
import FontAwesome5 from 'react-native-vector-icons/FontAwesome5';
import IonicIcon from 'react-native-vector-icons/Ionicons';
import DeviceSize from '../../../util/DeviceSize';

Expand Down Expand Up @@ -225,7 +226,7 @@ class ReceiveRequest extends Component {
onPress: this.openQrModal
},
{
icon: <AntIcon solid name={'download'} size={30} color={colors.black} />,
icon: <FontAwesome5 solid name={'hand-holding'} size={30} color={colors.black} />,
title: strings('receive_request.request_title'),
description: strings('receive_request.request_description'),
onPress: () => {
Expand Down
12 changes: 12 additions & 0 deletions ios/MetaMask.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
F5C5F10C32974C2D94FEA3F3 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BF485CDA047B4D52852B87F5 /* EvilIcons.ttf */; };
F719B7ED64E3484FB94EE77B /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 42C6DDE3B80F47AFA9C9D4F5 /* Foundation.ttf */; };
FD9BDCD5059C483EAE9C0160 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 70BCC86172F14AB2BF4DDA97 /* libRNVectorIcons.a */; };
F28A5A2E8839405D98BA5D91 /* FontAwesome5_Brands.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57C103F40F394637B5A886FC /* FontAwesome5_Brands.ttf */; };
DF4F8A5FCCCD40749BDD2E61 /* FontAwesome5_Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EBC2B6371CD846D28B9FAADF /* FontAwesome5_Regular.ttf */; };
9AC52F22A86F4412BDE0EE7B /* FontAwesome5_Solid.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A98DB430A7DA47EFB97EDF8B /* FontAwesome5_Solid.ttf */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -713,6 +716,9 @@
F562CA6B28AA4A67AA29B61C /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = "<group>"; };
F9DFF7AC557B46B6BEFAA1C1 /* libRNShakeEvent.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNShakeEvent.a; sourceTree = "<group>"; };
FE3C9A2458A1416290DEDAD4 /* branch.json */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = branch.json; path = ../branch.json; sourceTree = "<group>"; };
57C103F40F394637B5A886FC /* FontAwesome5_Brands.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Brands.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
EBC2B6371CD846D28B9FAADF /* FontAwesome5_Regular.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Regular.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
A98DB430A7DA47EFB97EDF8B /* FontAwesome5_Solid.ttf */ = {isa = PBXFileReference; name = "FontAwesome5_Solid.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -1134,6 +1140,9 @@
459C4774EB724F2D8E12F088 /* Roboto-Regular.ttf */,
D9A37B5BF2914CF1B49EEF80 /* Roboto-Thin.ttf */,
CF552F79C77A4184A690513A /* Roboto-ThinItalic.ttf */,
57C103F40F394637B5A886FC /* FontAwesome5_Brands.ttf */,
EBC2B6371CD846D28B9FAADF /* FontAwesome5_Regular.ttf */,
A98DB430A7DA47EFB97EDF8B /* FontAwesome5_Solid.ttf */,
);
name = Resources;
sourceTree = "<group>";
Expand Down Expand Up @@ -1988,6 +1997,9 @@
7C0226ABD9694AEDBAF3016F /* Roboto-ThinItalic.ttf in Resources */,
15ACC9FB226555820063978B /* LaunchScreen.xib in Resources */,
49D8E62C506F4A63889EEC7F /* branch.json in Resources */,
F28A5A2E8839405D98BA5D91 /* FontAwesome5_Brands.ttf in Resources */,
DF4F8A5FCCCD40749BDD2E61 /* FontAwesome5_Regular.ttf in Resources */,
9AC52F22A86F4412BDE0EE7B /* FontAwesome5_Solid.ttf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
2 changes: 1 addition & 1 deletion ios/MetaMask/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<key>NSFaceIDUsageDescription</key>
<string>$(PRODUCT_NAME) needs to authenticate</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<string/>
<key>UIAppFonts</key>
<array>
<string>Entypo.ttf</string>
Expand Down
51 changes: 35 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83ce3f2

Please sign in to comment.