Skip showing user unified folders

pull/210/head
M66B 2 years ago
parent 4faa41a752
commit 2123142ad0

@ -227,6 +227,8 @@ public class AdapterNavUnified extends RecyclerView.Adapter<AdapterNavUnified.Vi
TupleFolderUnified unified = new TupleFolderUnified(); TupleFolderUnified unified = new TupleFolderUnified();
for (TupleFolderUnified type : new ArrayList<>(folders)) { for (TupleFolderUnified type : new ArrayList<>(folders)) {
TupleFolderUnified f = map.get(type.type); TupleFolderUnified f = map.get(type.type);
if (!EntityFolder.SYSTEM.equals(type.type) &&
!EntityFolder.USER.equals(type.type))
if (f == null) if (f == null)
map.put(type.type, type); map.put(type.type, type);
else { else {

Loading…
Cancel
Save