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:
parent
0b27fe7ff2
commit
8bddb42785
@ -29,6 +29,8 @@ def report() -> None:
|
|||||||
return
|
return
|
||||||
if _steps == 0: # Zcash transaction without transparent inputs and outputs
|
if _steps == 0: # Zcash transaction without transparent inputs and outputs
|
||||||
p = 1000
|
p = 1000
|
||||||
|
indeterminate = True
|
||||||
else:
|
else:
|
||||||
p = 1000 * _progress // _steps
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user