diff --git a/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt b/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt index c6a217109..232ee023d 100644 --- a/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt @@ -34,7 +34,10 @@ class FindBookAdapter:PagedListAdapter } override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MyViewHolder { - return MyViewHolder(LayoutInflater.from(parent.context).inflate(R.layout.item_find_book, parent, false)) + return MyViewHolder( + LayoutInflater.from(parent.context) + .inflate(R.layout.item_find_book, parent, false) + ) } override fun onBindViewHolder(holder: MyViewHolder, position: Int): Unit =