1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 06:01:12 +00:00

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