1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00

src/trezor/ui: fix default parameters for header

This commit is contained in:
Jan Pochyla 2018-02-28 01:48:50 +01:00
parent 5ec3ef7835
commit 0c42976e91

View File

@ -124,9 +124,9 @@ def layout(f):
def header(title: str,
icon: bytes=ICON_DEFAULT,
fg: int=BG,
fg: int=FG,
bg: int=BG,
ifg: int=BG):
ifg: int=GREEN):
if icon is not None:
display.icon(14, 15, res.load(icon), ifg, bg)
display.text(44, 35, title, BOLD, fg, bg)