Skip to content

Commit 8f1ae22

Browse files
committed
Deselect all apps when module scope is empty
UI should reflect correctly current module scope. Fix the problem that after clicking on menu_select_none, recommended apps are still checked even though the scope database is already updated. This bug was introduced due to the inconsistent designs in 1339fc7 and 7be4e66.
1 parent 4271d8d commit 8f1ae22

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/src/main/java/org/lsposed/manager/adapters/ScopeAdapter.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -557,11 +557,6 @@ public void refresh(boolean force) {
557557
synchronized (tmpRecList) {
558558
tmpRecList.add(application);
559559
}
560-
if (emptyCheckedList) {
561-
synchronized (tmpChkList) {
562-
tmpChkList.add(application);
563-
}
564-
}
565560
} else if (shouldHideApp(info, application, tmpChkList)) {
566561
return;
567562
}

0 commit comments

Comments
 (0)