async def swipe_to_rotate(): from trezor.ui.swipe import Swipe, degrees swipe = await Swipe(absolute=True) ui.display.orientation(degrees(swipe))
async def swipe_to_rotate(): swipe = await Swipe(absolute=True) ui.display.orientation(degrees(swipe))