diff --git a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt index b618f29d6..ce7ba7b11 100644 --- a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt @@ -177,7 +177,8 @@ class BookInfoActivity : VMBaseActivity(R.layout.activity_boo tv_change_source.onClick { if (changeSourceDialog == null) { viewModel.bookData.value?.let { - changeSourceDialog = ChangeSourceDialog.newInstance(it.name, it.author) + changeSourceDialog = ChangeSourceDialog + .newInstance(it.name, it.author, it.origin) changeSourceDialog?.callBack = this } } diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index f4a9540e2..57d9d375d 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -176,7 +176,8 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea R.id.menu_change_source -> { if (changeSourceDialog == null) { viewModel.bookData.value?.let { - changeSourceDialog = ChangeSourceDialog.newInstance(it.name, it.author) + changeSourceDialog = ChangeSourceDialog + .newInstance(it.name, it.author, it.origin) changeSourceDialog?.callBack = this } }