Hide/seen folder in main folder list

This commit is contained in:
M66B
2023-01-13 13:57:25 +01:00
parent fc77f3c591
commit 15638dad2e
4 changed files with 22 additions and 9 deletions

View File

@@ -63,6 +63,10 @@ public class TupleFolderEx extends EntityFolder implements Serializable {
@Ignore
public int childs_unseen = 0;
boolean isHidden() {
return (this.hide_seen && this.unseen + this.childs_unseen == 0);
}
@Override
public boolean equals(Object obj) {
if (obj instanceof TupleFolderEx) {