1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

feat(core): not showing Starting up progress loader after connecting device

[no changelog]
This commit is contained in:
grdddj 2023-02-21 12:25:55 +01:00 committed by Jiří Musil
parent 00dde0e312
commit 5d987b2bc9

View File

@ -27,6 +27,11 @@ def render_empty_loader(message: str, description: str) -> None:
def show_pin_timeout(seconds: int, progress: int, message: str) -> bool:
from trezor.ui.layouts import pin_progress
# We do not want to show the progress loader when starting the device.
# Progress should be shown only for PIN purposes.
if message == "Starting up":
return False
global _previous_seconds
global _previous_remaining
global _progress_layout