mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-19 03:40:59 +00:00
core/ui: Initialize Qr class properly.
This commit is contained in:
parent
431a25b119
commit
dd540a2ccd
@ -7,6 +7,7 @@ class Qr(ui.Component):
|
|||||||
self.x = x
|
self.x = x
|
||||||
self.y = y
|
self.y = y
|
||||||
self.scale = scale
|
self.scale = scale
|
||||||
|
self.repaint = True
|
||||||
|
|
||||||
def on_render(self) -> None:
|
def on_render(self) -> None:
|
||||||
if self.repaint:
|
if self.repaint:
|
||||||
|
Loading…
Reference in New Issue
Block a user