优化
This commit is contained in:
1 parent
6d28fbc21e
commit
92a0692ef3
1 file changed
+1
-1
@@ -116,7 +116,7 @@ class RemoteBookAdapter(context: Context, val callBack: CallBack) :
|
||||
|
||||
fun revertSelection() {
|
||||
getItems().forEach {
|
||||
if (!it.isDir) {
|
||||
if (!it.isDir && !it.isOnBookShelf) {
|
||||
if (selected.contains(it)) {
|
||||
selected.remove(it)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user