diff --git a/app/src/main/java/io/legado/app/data/entities/SearchBook.kt b/app/src/main/java/io/legado/app/data/entities/SearchBook.kt index 0b537e8fd..84ad58121 100644 --- a/app/src/main/java/io/legado/app/data/entities/SearchBook.kt +++ b/app/src/main/java/io/legado/app/data/entities/SearchBook.kt @@ -71,7 +71,7 @@ data class SearchBook( fun addOrigin(origin: String) { if (origins == null) { - origins = linkedSetOf() + origins = linkedSetOf(this.origin) } origins?.add(origin) }