ScriptScreen

@Composable
fun ScriptScreen(socket: Socket, selectedDevice: Device, selectedApp: Application, onBack: () -> Job)

This function displays the script screen.

Parameters

socket

The socket connection to the server.

selectedDevice

The device that has been selected by the user.

selectedApp

The application that has been selected by the user.

onBack

The action to be performed when the back button is clicked.

Example usage:

ScriptScreen(
socket = socket,
selectedDevice = device,
selectedApp = app,
onBack = { /* action to perform on back button click */}
)