优化
This commit is contained in:
@@ -116,7 +116,7 @@ class RemoteBookAdapter(context: Context, val callBack: CallBack) :
|
|||||||
|
|
||||||
fun revertSelection() {
|
fun revertSelection() {
|
||||||
getItems().forEach {
|
getItems().forEach {
|
||||||
if (!it.isDir) {
|
if (!it.isDir && !it.isOnBookShelf) {
|
||||||
if (selected.contains(it)) {
|
if (selected.contains(it)) {
|
||||||
selected.remove(it)
|
selected.remove(it)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user