mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
show "Go to myTREZOR.com" instead of label when device is not initialized
This commit is contained in:
parent
39e29c1037
commit
e8b47901ce
@ -64,7 +64,7 @@ void layoutHome(void)
|
||||
oledSwipeLeft();
|
||||
}
|
||||
layoutLast = layoutHome;
|
||||
const char *label = storage_getLabel();
|
||||
const char *label = storage_isInitialized() ? storage_getLabel() : "Go to mytrezor.com";
|
||||
const uint8_t *homescreen = storage_getHomescreen();
|
||||
if (homescreen) {
|
||||
BITMAP b;
|
||||
|
Loading…
Reference in New Issue
Block a user