-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shouldn't it return generic icon if symbol not found #1
Comments
If you use |
Sure, Yeah that's what I saw. I have to disagree and would consider enabling it by default so that if someone is building an app he doesn't have to handle lots of image loading error. |
Okay, I'll consider this and make the generic icon fallback true by default. although it will still show the error in the console. |
Thanks @man15h, I pushed the code long back for generic icon here though: abhishekgahlot@b66875f Also, one more thing I see after installing this package the folder size is really really huge. I think we should decrease the size it looks really big to me. |
Probably that might be because of the submodule. I'll look into it. Thanks |
Generally, its a good idea if a symbol isn't present to return a generic icon. I do see you have written a code for this here:
CryptoIcon.vue
I think when someone is iterating over lots of symbols and if the symbol isn't found in this library it should return generic but as of now, I get an error in console.
Maybe we should remove that else part and return generic, If you agree I can raise a PR for that.
The text was updated successfully, but these errors were encountered: