Fix StubSource param order to match previous SourceData order (#9485)

SourceData was replaced with direct StubSource usage but the param order was changed without changing the usage; fixing the param order as such.
This commit is contained in:
FlaminSarge 2023-05-09 15:37:24 -07:00 committed by GitHub
parent 84acae27b7
commit 4395202703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,8 @@ import rx.Observable
@Suppress("OverridingDeprecatedMember") @Suppress("OverridingDeprecatedMember")
class StubSource( class StubSource(
override val id: Long, override val id: Long,
override val name: String,
override val lang: String, override val lang: String,
override val name: String,
) : Source { ) : Source {
val isInvalid: Boolean = name.isBlank() || lang.isBlank() val isInvalid: Boolean = name.isBlank() || lang.isBlank()