diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt index bfd23569c..213a325e6 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt @@ -48,7 +48,10 @@ class BookshelfAdapter : PagedListAdapter(D } override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MyViewHolder { - return MyViewHolder(LayoutInflater.from(parent.context).inflate(R.layout.item_bookshelf_list, parent, false)) + return MyViewHolder( + LayoutInflater.from(parent.context) + .inflate(R.layout.item_bookshelf_list, parent, false) + ) } override fun onBindViewHolder(holder: MyViewHolder, position: Int) {