1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

fix(ui): import type component inside if TYPE_CHECKING branch

This commit is contained in:
grdddj 2022-07-19 12:11:22 +02:00 committed by Jiří Musil
parent 907254245d
commit 8bfbe9da01

View File

@ -6,7 +6,6 @@ from trezor.enums import ButtonRequestType
import trezorui2
from ...components.tt.button import ButtonContent
from ...components.tt.confirm import Confirm
from ...constants.tt import MONO_ADDR_PER_LINE
from ..common import button_request, interact
@ -15,6 +14,7 @@ if TYPE_CHECKING:
from typing import Any, Awaitable, Iterable, NoReturn, Sequence
from ..common import PropertyType, ExceptionType
from ...components.tt.button import ButtonContent
class _RustLayout(ui.Layout):