mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
seed: add display.refresh to seed loading waiting screen
This commit is contained in:
parent
d2aef38bd8
commit
4ee69f1e3f
@ -72,11 +72,13 @@ async def get_keychain(ctx: wire.Context, namespaces: list) -> Keychain:
|
|||||||
def _start_bip39_progress():
|
def _start_bip39_progress():
|
||||||
ui.display.clear()
|
ui.display.clear()
|
||||||
ui.header("Please wait")
|
ui.header("Please wait")
|
||||||
|
ui.display.refresh()
|
||||||
|
|
||||||
|
|
||||||
def _render_bip39_progress(progress: int, total: int):
|
def _render_bip39_progress(progress: int, total: int):
|
||||||
p = int(1000 * progress / total)
|
p = int(1000 * progress / total)
|
||||||
ui.display.loader(p, 18, ui.WHITE, ui.BG)
|
ui.display.loader(p, 18, ui.WHITE, ui.BG)
|
||||||
|
ui.display.refresh()
|
||||||
|
|
||||||
|
|
||||||
def derive_node_without_passphrase(
|
def derive_node_without_passphrase(
|
||||||
|
Loading…
Reference in New Issue
Block a user