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
1 changed files with 1 additions and 1 deletions

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;