Преглед на файлове

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()