mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +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();
|
oledSwipeLeft();
|
||||||
}
|
}
|
||||||
layoutLast = layoutHome;
|
layoutLast = layoutHome;
|
||||||
const char *label = storage_getLabel();
|
const char *label = storage_isInitialized() ? storage_getLabel() : "Go to mytrezor.com";
|
||||||
const uint8_t *homescreen = storage_getHomescreen();
|
const uint8_t *homescreen = storage_getHomescreen();
|
||||||
if (homescreen) {
|
if (homescreen) {
|
||||||
BITMAP b;
|
BITMAP b;
|
||||||
|
Loading…
Reference in New Issue
Block a user