feat: merge SteamVR and Cardboard into one VR drawer tab (#959)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-16 14:59:34 +00:00
1 parent 8886304894
commit f7ffab1345
38 files changed
+35 -120

No files matched your search

@@ -522,7 +522,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
}
}
LaunchedEffect(cardboard.enabled, steamVrSwitchedPicture, drawerOpen, drawerPage) {
while (cardboard.enabled || steamVrSwitchedPicture || (drawerOpen && drawerPage == SessionDrawerPage.STEAMVR)) {
while (cardboard.enabled || steamVrSwitchedPicture || (drawerOpen && drawerPage == SessionDrawerPage.VR)) {
val now = kotlinx.coroutines.withContext(kotlinx.coroutines.Dispatchers.IO) {
SteamVr.status(this@SessionActivity)
}