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(
|
||||
extension = extension,
|
||||
modifier = Modifier
|
||||
|
|
|
|||
|
|
@ -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 ->
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue