mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 09:28:13 +00:00
fix(ui): import type component inside if TYPE_CHECKING branch
This commit is contained in:
parent
907254245d
commit
8bfbe9da01
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user