mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Allow nullable screen effects profile in drawer
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user