Indent user folders only

This commit is contained in:
M66B
2018-12-13 18:20:24 +01:00
parent 43c1c797d3
commit 4e7b60bd32

View File

@@ -122,7 +122,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
if (account > 0) {
ViewGroup.LayoutParams lp = vwLevel.getLayoutParams();
lp.width = folder.level * dp12;
lp.width = (EntityFolder.USER.equals(folder.type) ? folder.level : 0) * dp12;
vwLevel.setLayoutParams(lp);
}