1
0
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:
Andrew Kozlik 2020-08-11 16:42:11 +02:00 committed by Andrew Kozlik
parent 431a25b119
commit dd540a2ccd

View File

@ -7,6 +7,7 @@ class Qr(ui.Component):
self.x = x
self.y = y
self.scale = scale
self.repaint = True
def on_render(self) -> None:
if self.repaint: