1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 15:30:55 +00:00

src/apps/wallet/get_address: remove useless Container

This commit is contained in:
Jan Pochyla 2018-02-22 15:21:25 +01:00
parent fcd712a0b0
commit b0aae19929

View File

@ -32,11 +32,10 @@ async def layout_get_address(ctx, msg):
async def _show_address(ctx, address):
from trezor.messages.ButtonRequestType import Address
from trezor.ui.text import Text
from trezor.ui.container import Container
from ..common.confirm import confirm
lines = _split_address(address)
content = Container(Text('Confirm address', ui.ICON_RESET, ui.MONO, *lines))
content = Text('Confirm address', ui.ICON_RESET, ui.MONO, *lines)
return await confirm(ctx, content, code=Address, cancel='QR', cancel_style=ui.BTN_KEY)