소스 검색

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.
FlaminSarge 1 년 전
부모
커밋
4395202703
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      domain/src/main/java/tachiyomi/domain/source/model/StubSource.kt

+ 1 - 1
domain/src/main/java/tachiyomi/domain/source/model/StubSource.kt

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