mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-16 17:42:02 +00:00
apps/homescreen: change bg
This commit is contained in:
parent
c34ee98731
commit
cacbbf80eb
BIN
assets/bg.png
Normal file
BIN
assets/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
@ -20,7 +20,7 @@ def display_homescreen():
|
|||||||
image = storage.get_homescreen()
|
image = storage.get_homescreen()
|
||||||
|
|
||||||
if not image:
|
if not image:
|
||||||
image = res.load('apps/homescreen/res/homescreen.toif')
|
image = res.load('apps/homescreen/res/bg.toif')
|
||||||
|
|
||||||
ui.display.bar(0, 0, ui.SCREEN, ui.SCREEN, ui.BG)
|
ui.display.bar(0, 0, ui.SCREEN, ui.SCREEN, ui.BG)
|
||||||
ui.display.avatar((ui.SCREEN - 144) // 2, (ui.SCREEN - 144) // 2 - 10, image, ui.WHITE, ui.BLACK)
|
ui.display.avatar((ui.SCREEN - 144) // 2, (ui.SCREEN - 144) // 2 - 10, image, ui.WHITE, ui.BLACK)
|
||||||
|
BIN
src/apps/homescreen/res/bg.toif
Normal file
BIN
src/apps/homescreen/res/bg.toif
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user