1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-28 08:11:02 +00:00
trezor-firmware/src/apps/management/apply_flags.py

8 lines
200 B
Python
Raw Normal View History

async def layout_apply_flags(ctx, msg):
from trezor.messages.Success import Success
from ..common import storage
storage.set_flags(msg.flags)
return Success(message='Flags applied')