1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 06:18:07 +00:00

fix(core): do not handle click signal in non-debug builds (fixes #3026)

[no changelog]
This commit is contained in:
matejcik 2023-05-22 11:19:46 +02:00 committed by matejcik
parent 97d8ff7c2c
commit 1cb0bf01e6

View File

@ -29,6 +29,7 @@ class HomescreenBase(RustLayout):
else: else:
self._paint() self._paint()
if __debug__:
# In __debug__ mode, ignore {confirm,swipe,input}_signal. # In __debug__ mode, ignore {confirm,swipe,input}_signal.
def create_tasks(self) -> tuple[loop.AwaitableTask, ...]: def create_tasks(self) -> tuple[loop.AwaitableTask, ...]:
return ( return (