fix warning

This commit is contained in:
Tran M. Cuong 2024-06-16 20:16:25 +07:00
parent c8a0ba67ec
commit d7bc9d3021
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
2 changed files with 7 additions and 7 deletions

View file

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

View file

@ -158,7 +158,7 @@ fun EditMangaDialog(
}
// KMK -->
class EditMangaDialogColors(
data class EditMangaDialogColors(
@ColorInt val textColor: Int,
@ColorInt val textHighlightColor: Int,
@ColorInt val iconColor: Int,
@ -358,11 +358,11 @@ private fun resetInfo(
colors: EditMangaDialogColors,
// KMK <--
) {
binding.title.setText("")
binding.mangaAuthor.setText("")
binding.mangaArtist.setText("")
binding.thumbnailUrl.setText("")
binding.mangaDescription.setText("")
binding.title.text?.clear()
binding.mangaAuthor.text?.clear()
binding.mangaArtist.text?.clear()
binding.thumbnailUrl.text?.clear()
binding.mangaDescription.text?.clear()
resetTags(manga, binding, scope, colors)
}