Skip to content

Commit

Permalink
- fix import and rea-add FA.ttf to project and plist file
Browse files Browse the repository at this point in the history
  • Loading branch information
siemiatj committed Feb 21, 2017
1 parent ad52e4c commit 1b1d668
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
Binary file modified ios/FontAwesome.ttf
Binary file not shown.
6 changes: 6 additions & 0 deletions ios/snowflake.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
2DCD954D1E0B4F2C00145EB5 /* snowflakeTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* snowflakeTests.m */; };
5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
A72D1C3D1E5CFFFC005D3FEE /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A72D1C3C1E5CFFFC005D3FEE /* FontAwesome.ttf */; };
A72D1C3E1E5CFFFC005D3FEE /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A72D1C3C1E5CFFFC005D3FEE /* FontAwesome.ttf */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -255,6 +257,7 @@
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
A72D1C3C1E5CFFFC005D3FEE /* FontAwesome.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = FontAwesome.ttf; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -395,6 +398,7 @@
13B07FB51A68108700A75B9A /* Images.xcassets */,
13B07FB61A68108700A75B9A /* Info.plist */,
13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
A72D1C3C1E5CFFFC005D3FEE /* FontAwesome.ttf */,
13B07FB71A68108700A75B9A /* main.m */,
);
name = snowflake;
Expand Down Expand Up @@ -844,6 +848,7 @@
files = (
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
A72D1C3D1E5CFFFC005D3FEE /* FontAwesome.ttf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -852,6 +857,7 @@
buildActionMask = 2147483647;
files = (
2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
A72D1C3E1E5CFFFC005D3FEE /* FontAwesome.ttf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
4 changes: 4 additions & 0 deletions ios/snowflake/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIAppFonts</key>
<array>
<string>FontAwesome.ttf</string>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion src/components/ItemCheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import
/**
* The vector icon
*/
var Icon = require('react-native-vector-icons/FontAwesome')
import Icon from 'react-native-vector-icons/FontAwesome'

var ItemCheckbox = React.createClass({
/**
Expand Down

0 comments on commit 1b1d668

Please sign in to comment.