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:
parent
5ec3ef7835
commit
0c42976e91
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user