mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
added clear display to pin dialog
This commit is contained in:
parent
4fc85825f6
commit
4852609efb
@ -1,10 +1,6 @@
|
||||
from trezor import ui
|
||||
from trezor import ui, dispatcher, loop, res, wire
|
||||
from trezor.ui.swipe import Swipe
|
||||
from trezor.utils import unimport_gen
|
||||
from trezor import dispatcher
|
||||
from trezor import loop
|
||||
from trezor import res
|
||||
from trezor import wire
|
||||
|
||||
|
||||
def swipe_to_rotate():
|
||||
|
@ -1,11 +1,11 @@
|
||||
from trezor import wire
|
||||
from trezor import wire, ui
|
||||
from trezor.utils import unimport_gen
|
||||
from trezor.workflows.request_pin import request_pin
|
||||
|
||||
|
||||
@unimport_gen
|
||||
def layout_get_public_key(message):
|
||||
|
||||
ui.clear();
|
||||
pin = yield from request_pin()
|
||||
|
||||
if pin is not None:
|
||||
|
@ -1,6 +1,5 @@
|
||||
from . import display, in_area, rotate_coords
|
||||
from trezor import ui
|
||||
from trezor import loop
|
||||
from trezor import ui, loop
|
||||
|
||||
|
||||
DEFAULT_BUTTON = {
|
||||
|
@ -1,6 +1,5 @@
|
||||
from . import display
|
||||
from trezor import ui
|
||||
from trezor import loop
|
||||
from trezor import ui, loop
|
||||
from trezor.crypto import random
|
||||
from .button import Button, BTN_CLICKED
|
||||
from .button import CONFIRM_BUTTON, CONFIRM_BUTTON_ACTIVE
|
||||
|
Loading…
Reference in New Issue
Block a user