[app] Only clear scopes from the same user when check recommended (#726)

This commit is contained in:
LoveSy 2021-06-03 18:35:10 +08:00 committed by GitHub
parent 0ad10cf369
commit 9a66cec8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}