1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-09 14:12:51 +00:00

persistence UI fix

This commit is contained in:
Martin Milata 2025-02-04 01:19:02 +01:00
parent 501864a83a
commit c4e657c1ef

View File

@ -1325,7 +1325,9 @@ class TrezorClientDebugLink(TrezorClient):
return self.debug.layout_type
def get_new_client(self) -> TrezorClientDebugLink:
return TrezorClientDebugLink(self.transport, self.debug.allow_interactions)
new_client = TrezorClientDebugLink(self.transport, self.debug.allow_interactions)
new_client.debug.screenshot_recording_dir = self.debug.screenshot_recording_dir
return new_client
def reset_debug_features(self, new_management_session: bool = False) -> None:
"""