Fix the build: rename moveRgbHue to avoid clashing with the rgbHue setter; Hindi verb agreement

This commit is contained in:
FX192 authored and Kurt Himebauch committed 2026-10-23 11:20:34 -04:00
1 parent f7acb7fcd7
commit c7961bdacf
3 files changed
+4 -4

No files matched your search

@@ -63,7 +63,7 @@ object Themes {
var rgbHue by mutableStateOf(0f)
private set
fun setRgbHue(hue: Float) {
fun moveRgbHue(hue: Float) {
rgbHue = hue
}
@@ -174,5 +174,5 @@ private fun InnerGamerHue(speed: Int) {
0f, 360f, infiniteRepeatable(tween(Motion.ms(Themes.rgbCycleMillis(speed)).coerceAtLeast(1), easing = LinearEasing), RepeatMode.Restart), label = "hue",
)
val step = Themes.RGB_HUE_STEP
SideEffect { Themes.setRgbHue((hue / step).toInt() * step) }
SideEffect { Themes.moveRgbHue((hue / step).toInt() * step) }
}