Fix warning

This commit is contained in:
Cuong M. Tran 2024-05-14 16:37:54 +07:00 committed by Cuong Tran
parent 9682b8d9d2
commit 6f5b8903c0
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
3 changed files with 3 additions and 3 deletions

View file

@ -298,7 +298,7 @@ private fun ExtensionItem(
)
}
val padding by animateDpAsState(targetValue = if (idle) 0.dp else 8.dp)
val padding by animateDpAsState(targetValue = if (idle) 0.dp else 8.dp, label = "DpAnimation")
ExtensionIcon(
extension = extension,
modifier = Modifier

View file

@ -246,7 +246,7 @@ fun <T> RadioSelector(
options: ImmutableList<T>,
selected: Int?,
optionStrings: ImmutableList<String> = remember { options.map { it.toString() }.toImmutableList() },
onSelectOption: (Int) -> Unit /* KMK --> */ = {} /* KMK <-- */,
onSelectOption: (Int) -> Unit = {},
) {
Column(Modifier.verticalScroll(rememberScrollState())) {
optionStrings.forEachIndexed { index, option ->

View file

@ -475,7 +475,7 @@ fun SourceOptionsDialog(
// SY <--
// KMK -->
if (onClickSettings != null && source.installedExtension !== null &&
!(source.id == LocalSource.ID || source.id == EH_SOURCE_ID || source.id == EXH_SOURCE_ID)) {
source.id !in listOf(LocalSource.ID, EH_SOURCE_ID, EXH_SOURCE_ID)) {
Text(
text = stringResource(MR.strings.label_extension_info),
modifier = Modifier