Skip to content

Commit

Permalink
Improvement: assets detection (#627)
Browse files Browse the repository at this point in the history
* use collectible contract if image collectible is empty

* bump gaba
  • Loading branch information
estebanmino authored May 1, 2019
1 parent ce0fb5a commit e0f2273
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions app/components/Views/Collectible/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ class Collectible extends Component {
if (!collectible.name || collectible.name === '') {
collectible.name = collectibleContract.name;
}
if (!collectible.image && collectibleContract.logo) {
collectible.image = collectibleContract.logo;
}
return collectible;
});

Expand Down
12 changes: 6 additions & 6 deletions 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
Expand Up @@ -70,7 +70,7 @@
"ethjs-unit": "0.1.6",
"events": "3.0.0",
"fuse.js": "3.4.4",
"gaba": "1.0.0-beta.74",
"gaba": "1.0.0-beta.75",
"https-browserify": "0.0.1",
"jsc-android": "236355.1.1",
"lottie-react-native": "2.6.1",
Expand Down

0 comments on commit e0f2273

Please sign in to comment.