mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-09 10:28:46 +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,
|
def header(title: str,
|
||||||
icon: bytes=ICON_DEFAULT,
|
icon: bytes=ICON_DEFAULT,
|
||||||
fg: int=BG,
|
fg: int=FG,
|
||||||
bg: int=BG,
|
bg: int=BG,
|
||||||
ifg: int=BG):
|
ifg: int=GREEN):
|
||||||
if icon is not None:
|
if icon is not None:
|
||||||
display.icon(14, 15, res.load(icon), ifg, bg)
|
display.icon(14, 15, res.load(icon), ifg, bg)
|
||||||
display.text(44, 35, title, BOLD, fg, bg)
|
display.text(44, 35, title, BOLD, fg, bg)
|
||||||
|
Loading…
Reference in New Issue
Block a user