From 5bc6bc463596aabbbf98ebb4b922d7251dc20985 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Wed, 12 Jun 2019 16:08:59 +0200 Subject: [PATCH] core: fix request_passphrase notification screen --- core/src/apps/common/request_passphrase.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/apps/common/request_passphrase.py b/core/src/apps/common/request_passphrase.py index 347429d0b9..66821e278d 100644 --- a/core/src/apps/common/request_passphrase.py +++ b/core/src/apps/common/request_passphrase.py @@ -6,6 +6,7 @@ from trezor.messages.ButtonRequest import ButtonRequest from trezor.messages.PassphraseRequest import PassphraseRequest from trezor.messages.PassphraseStateRequest import PassphraseStateRequest from trezor.ui.passphrase import CANCELLED, PassphraseKeyboard, PassphraseSource +from trezor.ui.popup import Popup from trezor.ui.text import Text from apps.common import cache, storage @@ -50,7 +51,7 @@ async def request_passphrase_ack(ctx, on_device: bool) -> str: if not on_device: text = Text("Passphrase entry", ui.ICON_CONFIG) text.normal("Please, type passphrase", "on connected host.") - text.render() + await Popup(text) req = PassphraseRequest(on_device=on_device) ack = await ctx.call(req, MessageType.PassphraseAck)