mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 06:18:07 +00:00
core/ui: Fix repaint bug in QR code rendering #1067.
This commit is contained in:
parent
312d6ea822
commit
f382f77c89
@ -19,6 +19,7 @@ _Most likely to be released on July 1st._
|
||||
|
||||
### Fixed
|
||||
- Fix cancel icon in PIN dialog. #1042
|
||||
- Fix repaint bug in QR code rendering. #1067
|
||||
|
||||
### Security
|
||||
|
||||
|
@ -9,4 +9,6 @@ class Qr(ui.Component):
|
||||
self.scale = scale
|
||||
|
||||
def on_render(self) -> None:
|
||||
if self.repaint:
|
||||
ui.display.qrcode(self.x, self.y, self.data.encode(), self.scale)
|
||||
self.repaint = False
|
||||
|
Loading…
Reference in New Issue
Block a user