Allow nullable screen effects profile in drawer

This commit is contained in:
EnzoDLofi committed 2026-11-13 22:16:13 -04:00
1 parent ac14738853
commit 62d7bdc6e8
1 file changed
+1 -1
@@ -1352,7 +1352,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
WaylandCompositor.nativeSetUpscaleSharpness(pct)
},
onEffects = { e ->
if (drawerOpen && effectsEditorProfileId != null &&
if (drawerOpen &&
SessionPrefs.activeScreenEffectsProfileId(this@SessionActivity) == effectsEditorProfileId) {
SessionPrefs.setScreenEffects(this@SessionActivity, effectsEditorProfileId, e)
effects = e