From 5d987b2bc9ea0ebf0b6367a9048434e25ec28ccb Mon Sep 17 00:00:00 2001 From: grdddj Date: Tue, 21 Feb 2023 12:25:55 +0100 Subject: [PATCH] feat(core): not showing `Starting up` progress loader after connecting device [no changelog] --- core/src/trezor/pin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/trezor/pin.py b/core/src/trezor/pin.py index 99038c9803..677940285e 100644 --- a/core/src/trezor/pin.py +++ b/core/src/trezor/pin.py @@ -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