Remove unnecessary parentheses

This commit is contained in:
Luna712 2024-07-17 20:56:21 -06:00 committed by GitHub
parent 6821ccfd8f
commit 210f45ecaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ class DownloadViewModel : ViewModel() {
}
fun selectAllItems() {
val items = (headerCards.value.orEmpty() + childCards.value.orEmpty())
val items = headerCards.value.orEmpty() + childCards.value.orEmpty()
updateSelectedItems { it.addAll(items.map { item -> item.data.id }) }
}