[app] Only clear scopes from the same user when check recommended (#726)
This commit is contained in:
parent
0ad10cf369
commit
9a66cec8b4
|
|
@ -219,7 +219,7 @@ public class ScopeAdapter extends RecyclerView.Adapter<ScopeAdapter.ViewHolder>
|
|||
}
|
||||
|
||||
private void checkRecommended() {
|
||||
checkedList.clear();
|
||||
checkedList.removeIf(i -> i.userId == module.userId);
|
||||
checkedList.addAll(recommendedList);
|
||||
ConfigManager.setModuleScope(module.packageName, checkedList);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue