Fix Steam URL game ID fallback

This commit is contained in:
EnzoDLofi committed 2026-11-13 22:16:13 -04:00
1 parent 0349745c49
commit b76610d279
1 file changed
+4 -1
@@ -377,7 +377,10 @@ class SessionService : Service() {
?.takeIf { it.startsWith(GAME_URL_PREFIX) }
?.removePrefix(GAME_URL_PREFIX)
?.takeIf(GameLaunchLink::validId)
val resolvedGameId = intent?.getStringExtra(EXTRA_GAME_ID) ?: steamUrlGameId
val resolvedGameId = intent?.getStringExtra(EXTRA_GAME_ID)
?.trim()
?.takeIf(GameLaunchLink::validId)
?: steamUrlGameId
SessionState.gameId = resolvedGameId
SessionPrefs.setActiveScreenEffectsProfile(
this,