1
0
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:
Pavol Rusnak 2015-07-09 22:58:05 +02:00
parent 39e29c1037
commit e8b47901ce

View File

@ -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;