diff --git a/src/apps/homescreen/homescreen.py b/src/apps/homescreen/homescreen.py index 6bc6b4e109..904a976af1 100644 --- a/src/apps/homescreen/homescreen.py +++ b/src/apps/homescreen/homescreen.py @@ -1,13 +1,19 @@ -from trezor import config, res, ui +from trezor import config, io, loop, res, ui from apps.common import storage async def homescreen(): + # render homescreen in dimmed mode and fade back in await ui.backlight_slide(ui.BACKLIGHT_DIM) display_homescreen() await ui.backlight_slide(ui.BACKLIGHT_NORMAL) + # loop forever, never return + touch = loop.wait(io.TOUCH) + while True: + await touch + def display_homescreen(): if not storage.is_initialized():