From 1ccd22c337fe823db95cc766a3a0d8649a529ae7 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 28 Oct 2019 22:59:34 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/data/entities/SearchBook.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }