From e8b47901ced42fd437d27261a3fcd354f0fb0495 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 9 Jul 2015 22:58:05 +0200 Subject: [PATCH] show "Go to myTREZOR.com" instead of label when device is not initialized --- firmware/layout2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/layout2.c b/firmware/layout2.c index 51bc154408..bb2b945cc8 100644 --- a/firmware/layout2.c +++ b/firmware/layout2.c @@ -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;