1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-11 07:50:57 +00:00

core/shamir: remove checked icon from future items in Backup checklist

This commit is contained in:
Tomas Susanka 2019-07-29 13:42:20 +02:00
parent 81a1b26fad
commit 4da54f95d6

View File

@ -50,9 +50,10 @@ class Checklist(ui.Control):
font = ui.NORMAL font = ui.NORMAL
fg = ui.GREY fg = ui.GREY
# render item icon # render item icon in past items
icon = res.load(ui.ICON_CONFIRM) if index < self.active:
ui.display.icon(0, offset_y - 14, icon, fg, bg) icon = res.load(ui.ICON_CONFIRM)
ui.display.icon(0, offset_y - 14, icon, fg, bg)
# render item text # render item text
if isinstance(item, str): if isinstance(item, str):