pull/737/head
Robot 4 years ago
commit f661d8a948
  1. 2
      app/src/main/assets/updateLog.md
  2. 4
      app/src/main/java/io/legado/app/ui/book/local/ImportBookAdapter.kt

@ -6,7 +6,7 @@
**2020/12/15**
* 修复一些引起崩溃的bug
* 修复搜书和换源可能什么分组都没有的bug
* 添加同步进度开关,默认开启
* 添加同步进度开关,默认开启,在备份与恢复里面
**2020/12/14**
* 修复bug

@ -94,7 +94,7 @@ class ImportBookAdapter(context: Context, val callBack: CallBack) :
private fun upCheckableCount() {
checkableCount = 0
getItems().forEach {
if (!it.isDir && !bookFileNames.contains(it.uri.toString())) {
if (!it.isDir && !bookFileNames.contains(it.name)) {
checkableCount++
}
}
@ -104,7 +104,7 @@ class ImportBookAdapter(context: Context, val callBack: CallBack) :
fun selectAll(selectAll: Boolean) {
if (selectAll) {
getItems().forEach {
if (!it.isDir && !bookFileNames.contains(it.uri.toString())) {
if (!it.isDir && !bookFileNames.contains(it.name)) {
selectedUris.add(it.uri.toString())
}
}

Loading…
Cancel
Save