mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
ui: remove dead code in mnemonic.py
This commit is contained in:
parent
5bc6bc4635
commit
40d55dfe8b
@ -62,11 +62,6 @@ class InputButton(Button):
|
||||
w = self.word[len(t) :] # suggested word
|
||||
i = self.icon # rendered icon
|
||||
|
||||
if not t:
|
||||
# render prompt
|
||||
display.text(20, 40, self.prompt, ui.BOLD, ui.GREY, ui.BG)
|
||||
return
|
||||
|
||||
tx = ax + 24 # x-offset of the content
|
||||
ty = ay + ah // 2 + 8 # y-offset of the content
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user