pull/473/head
gedoor 4 years ago
parent d0c976ea56
commit d4fef5d107
  1. 2
      app/src/main/java/io/legado/app/ui/book/local/ImportBookAdapter.kt

@ -113,7 +113,7 @@ class ImportBookAdapter(context: Context, val callBack: CallBack) :
getItem(holder.layoutPosition)?.let {
if (it.isDir) {
callBack.nextDoc(it.uri)
} else if (!bookFileNames.contains(it.uri.toString())) {
} else if (!bookFileNames.contains(it.name)) {
if (!selectedUris.contains(it.uri.toString())) {
selectedUris.add(it.uri.toString())
} else {

Loading…
Cancel
Save