This commit is contained in:
T8RIN 2025-12-27 16:08:58 +03:00
parent f45112c130
commit f2d1a9a839

View File

@ -18,6 +18,7 @@
package com.t8rin.imagetoolbox.feature.settings.presentation.components
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material.icons.Icons
import androidx.compose.material3.MaterialTheme
@ -61,6 +62,8 @@ fun SnowfallModeSettingItem(
enabled = true,
itemCount = entries.size,
title = {},
modifier = Modifier.fillMaxWidth(),
isScrollable = false,
selectedIndex = derivedValueOf(value) {
entries.indexOfFirst { it::class.isInstance(value) }
},