Now has a separate struct for caller app name & icon
- New home screen wording - Removed duplicate RUN_APPLICATION macro
This commit is contained in:
@@ -136,14 +136,3 @@ 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
|
||||
@@ -14,9 +14,6 @@ typedef struct network_info_s {
|
||||
// Returns the chain ID. Defaults to 0 if txType was not found (For TX).
|
||||
uint64_t get_tx_chain_id(void);
|
||||
uint64_t get_app_chain_id(void);
|
||||
#ifdef HAVE_NBGL
|
||||
const nbgl_icon_details_t *get_app_chain_icon(void);
|
||||
#endif // HAVE_NBGL
|
||||
// Returns a pointer to the network name, or NULL if there is none.
|
||||
const char *get_tx_network_name(void);
|
||||
const char *get_app_network_name(void);
|
||||
|
||||
Reference in New Issue
Block a user