rework plugin start so name and icon can be passed to eth
This commit is contained in:
committed by
Alexandre Paillier
parent
b5c58b59cf
commit
0414a043c8
@@ -135,4 +135,15 @@ const char *get_app_network_ticker(void) {
|
||||
|
||||
const char *get_tx_network_ticker(void) {
|
||||
return get_network_ticker(TX);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_NBGL
|
||||
#include "glyphs.h"
|
||||
const nbgl_icon_details_t *get_app_chain_icon(void) {
|
||||
if (chainConfig->coinIconDetails.bitmap) {
|
||||
return &chainConfig->coinIconDetails; // if called from a clone, the bitmap is correct
|
||||
} else {
|
||||
return &ICONGLYPH; // else, jsu return the ETH icon
|
||||
}
|
||||
}
|
||||
#endif // HAVE_NBGL
|
||||
Reference in New Issue
Block a user