async def METHOD_NAME(result: bool, is_slip39: bool) -> None:
    from trezor.ui.layouts import show_success
    if result:
        if is_slip39:
            text = "The entered recovery shares are valid and match what is currently in the device."
        else:
            text = (
                "The entered recovery seed is valid and matches the one in the device."
            )
        await show_success("success_dry_recovery", text, button="Continue")
    else:
        if is_slip39:
            text = "The entered recovery shares are valid but do not match what is currently in the device."
        else:
            text = "The entered recovery seed is valid but does not match the one in the device."
        await show_recovery_warning("warning_dry_recovery", "", text, button="Continue")