HapeLee 1 год назад
Родитель
Сommit
91ebe9f164

+ 1 - 0
app/src/main/java/io/legato/kazusa/ui/main/bookshelf/books/BookshelfFragment2.kt

@@ -324,6 +324,7 @@ class BookshelfFragment2() : BaseBookshelfFragment(R.layout.fragment_bookshelf2)
                 val intent = Intent(requireContext(), BookInfoActivity::class.java).apply {
                     putExtra("name", item.name)
                     putExtra("author", item.author)
+                    putExtra("bookUrl", item.bookUrl)
                     putExtra("transitionName", "book_${item.bookUrl}") // 给共享元素唯一标识
                 }
 

+ 1 - 0
app/src/main/res/layout/dialog_bookshelf_config.xml

@@ -182,6 +182,7 @@
                     android:id="@+id/chipGroupOrder"
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
+                    app:selectionRequired="true"
                     app:singleSelection="true">
 
                     <com.google.android.material.chip.Chip