Fix warning
This commit is contained in:
parent
9682b8d9d2
commit
6f5b8903c0
3 changed files with 3 additions and 3 deletions
|
|
@ -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(
|
ExtensionIcon(
|
||||||
extension = extension,
|
extension = extension,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|
|
||||||
|
|
@ -246,7 +246,7 @@ fun <T> RadioSelector(
|
||||||
options: ImmutableList<T>,
|
options: ImmutableList<T>,
|
||||||
selected: Int?,
|
selected: Int?,
|
||||||
optionStrings: ImmutableList<String> = remember { options.map { it.toString() }.toImmutableList() },
|
optionStrings: ImmutableList<String> = remember { options.map { it.toString() }.toImmutableList() },
|
||||||
onSelectOption: (Int) -> Unit /* KMK --> */ = {} /* KMK <-- */,
|
onSelectOption: (Int) -> Unit = {},
|
||||||
) {
|
) {
|
||||||
Column(Modifier.verticalScroll(rememberScrollState())) {
|
Column(Modifier.verticalScroll(rememberScrollState())) {
|
||||||
optionStrings.forEachIndexed { index, option ->
|
optionStrings.forEachIndexed { index, option ->
|
||||||
|
|
|
||||||
|
|
@ -475,7 +475,7 @@ fun SourceOptionsDialog(
|
||||||
// SY <--
|
// SY <--
|
||||||
// KMK -->
|
// KMK -->
|
||||||
if (onClickSettings != null && source.installedExtension !== null &&
|
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(
|
||||||
text = stringResource(MR.strings.label_extension_info),
|
text = stringResource(MR.strings.label_extension_info),
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue