1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-22 12:32:02 +00:00

fixup! feat(core): add Zcash shielded transactions

This commit is contained in:
Tomas Krnak 2022-11-17 20:27:29 +07:00
parent 0b27fe7ff2
commit 8bddb42785

View File

@ -29,6 +29,8 @@ def report() -> None:
return
if _steps == 0: # Zcash transaction without transparent inputs and outputs
p = 1000
indeterminate = True
else:
p = 1000 * _progress // _steps
ui.display.loader(p, False, 18, ui.WHITE, ui.BG)
indeterminate = False
ui.display.loader(p, indeterminate, 18, ui.WHITE, ui.BG)