fix(ui): restore consistent focus glide transitions (#1588)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-25 23:20:57 -04:00
1 parent 5978a13f09
commit 3fd6b1f00d
47 files changed
+705 -183

No files matched your search

@@ -1,5 +1,6 @@
package com.droiddeck.launcher.input
import com.droiddeck.launcher.ui.focusGlide
import android.os.Build
import android.os.Bundle
import android.view.Gravity
@@ -104,6 +105,7 @@ class ControllerEditorActivity : ComponentActivity() {
else -> Color.White.copy(alpha = 0.06f)
},
)
.focusGlide(RoundedCornerShape(50))
.then(
if (selected == null) Modifier.clickable(onClick = onClick)
else Modifier.toggleable(value = selected, role = Role.Switch, onValueChange = { onClick() }),