Fix nullable automatic screen effects profile validation

This commit is contained in:
EnzoDLofi committed 2026-11-14 14:37:36 -04:00
1 parent 27ae3631a3
commit d99f0c1bfc
1 file changed
+2 -1
@@ -1429,7 +1429,8 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
SessionPrefs.activeScreenEffectsProfileId(this@SessionActivity)
} else null
if (activeProfileId != null && activeProfileId != effectsEditorProfileId) {
if (target == SCREEN_EFFECTS_TARGET_AUTO &&
activeProfileId != effectsEditorProfileId) {
Log.w(TAG, "Screen effects profile changed while editing; discarding stale upscaler edit")
observedScreenEffectsProfileId = activeProfileId
val activeEffects = SessionPrefs.screenEffects(this@SessionActivity, activeProfileId)