diff --git a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt index cf2814252..4d74cc0bb 100644 --- a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt @@ -253,6 +253,10 @@ class BookInfoActivity : VMBaseActivity(R.layout.activity_boo override fun upGroup(group: BookGroup) { viewModel.groupData.postValue(group) + viewModel.bookData.value?.group = group.groupId + if (viewModel.inBookshelf) { + viewModel.saveBook { } + } } override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {