Fix #387
This commit is contained in:
parent
6b01fbb008
commit
b9ecb0c669
1 changed files with 2 additions and 2 deletions
|
@ -45,6 +45,6 @@ internal inline fun <R> runCatchingNonCancellable(block: () -> R): Result<R>? {
|
|||
|
||||
infix operator fun <T : Innertube.Item> Innertube.ItemsPage<T>?.plus(other: Innertube.ItemsPage<T>) =
|
||||
other.copy(
|
||||
items = this?.items?.plus(other.items ?: emptyList())?.distinctBy(Innertube.Item::key)
|
||||
?: other.items
|
||||
items = (this?.items?.plus(other.items ?: emptyList())
|
||||
?: other.items)?.distinctBy(Innertube.Item::key)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue