Skip to content

Commit

Permalink
feat: add eos coin
Browse files Browse the repository at this point in the history
  • Loading branch information
kilmas committed Sep 7, 2020
1 parent 4fa8450 commit 18724c9
Show file tree
Hide file tree
Showing 28 changed files with 1,096 additions and 666 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ android {
applicationId "com.qhwallet"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 32
versionName "1.0.30"
versionCode 33
versionName "1.0.31"
multiDexEnabled true
missingDimensionStrategy 'react-native-camera', 'general'
}
Expand Down
12 changes: 6 additions & 6 deletions ios/QHWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 62;
CURRENT_PROJECT_VERSION = 65;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = C35A7P8ZWU;
HEADER_SEARCH_PATHS = (
Expand All @@ -813,7 +813,7 @@
);
INFOPLIST_FILE = QHWallet/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.33;
MARKETING_VERSION = 1.0.36;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -833,15 +833,15 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 62;
CURRENT_PROJECT_VERSION = 65;
DEVELOPMENT_TEAM = C35A7P8ZWU;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-customized-image-picker/ios/**",
);
INFOPLIST_FILE = QHWallet/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.33;
MARKETING_VERSION = 1.0.36;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -907,15 +907,15 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 62;
CURRENT_PROJECT_VERSION = 65;
DEVELOPMENT_TEAM = C35A7P8ZWU;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-customized-image-picker/ios/**",
);
INFOPLIST_FILE = QHWallet/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.0.33;
MARKETING_VERSION = 1.0.36;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
1 change: 1 addition & 0 deletions src/components/CoinHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const bgCoin = index => ({
ETH: ['#7f86a3', '#60688c'],
FO: ['#99dfff', '#33bfff'],
OKT: ['#5894f4', '#205fec'],
EOS: ['#fff', '#0b102d'],
}[index] || ['#22425F', '#070707'])

@inject('store')
Expand Down
6 changes: 6 additions & 0 deletions src/components/CoinImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ export default class CoinImage extends React.Component {
source={{ uri: FO_ICON }}
style={{ width: 65, height: 65 }}
/>;
case 'EOS':
return icon && <Image
resizeMode="contain"
source={{ uri: icon }}
style={{ width: 65, height: 65 }}
/>;
case 'OKT':
return icon && <Image
resizeMode="contain"
Expand Down
Loading

0 comments on commit 18724c9

Please sign in to comment.