Skip to content

Instantly share code, notes, and snippets.

@LethalMaus
Created January 15, 2026 22:07
Show Gist options
  • Select an option

  • Save LethalMaus/89beac470e6232bf2af8b8431179a859 to your computer and use it in GitHub Desktop.

Select an option

Save LethalMaus/89beac470e6232bf2af8b8431179a859 to your computer and use it in GitHub Desktop.
WatchControlScreen.kt
@Composable
fun WatchControlScreen(manager: WearDataLayerManager, modifier: Modifier = Modifier) {
val connection by manager.connectionStatus.collectAsState()
val control by manager.controlStatus.collectAsState()
val profile by manager.userProfile.collectAsState()
val coroutineScope = rememberCoroutineScope()
var isRequesting by rememberSaveable { mutableStateOf(false) }
var showEmergency by rememberSaveable { mutableStateOf(false) }
val localDevice = DeviceType.WATCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment