mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-03 13:08:17 +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
|
import trezorui2
|
||||||
|
|
||||||
from ...components.tt.button import ButtonContent
|
|
||||||
from ...components.tt.confirm import Confirm
|
from ...components.tt.confirm import Confirm
|
||||||
from ...constants.tt import MONO_ADDR_PER_LINE
|
from ...constants.tt import MONO_ADDR_PER_LINE
|
||||||
from ..common import button_request, interact
|
from ..common import button_request, interact
|
||||||
@ -15,6 +14,7 @@ if TYPE_CHECKING:
|
|||||||
from typing import Any, Awaitable, Iterable, NoReturn, Sequence
|
from typing import Any, Awaitable, Iterable, NoReturn, Sequence
|
||||||
|
|
||||||
from ..common import PropertyType, ExceptionType
|
from ..common import PropertyType, ExceptionType
|
||||||
|
from ...components.tt.button import ButtonContent
|
||||||
|
|
||||||
|
|
||||||
class _RustLayout(ui.Layout):
|
class _RustLayout(ui.Layout):
|
||||||
|
Loading…
Reference in New Issue
Block a user