mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-08 22:40:59 +00:00
firmware: homescreen shows trezor.io/start when storage not initialized
This commit is contained in:
parent
1eff07f84d
commit
9257d44b7a
@ -22,6 +22,9 @@ def display_homescreen():
|
|||||||
image = res.load('apps/homescreen/res/trezor_logo.toig')
|
image = res.load('apps/homescreen/res/trezor_logo.toig')
|
||||||
ui.display.icon(0, 0, image, ui.WHITE, ui.BLACK)
|
ui.display.icon(0, 0, image, ui.WHITE, ui.BLACK)
|
||||||
|
|
||||||
|
if not storage.is_initialized():
|
||||||
|
label = 'Go to trezor.io/start'
|
||||||
|
else:
|
||||||
label = storage.get_label()
|
label = storage.get_label()
|
||||||
if not label:
|
if not label:
|
||||||
label = 'My TREZOR'
|
label = 'My TREZOR'
|
||||||
|
Loading…
Reference in New Issue
Block a user