Reverse indentation

This commit is contained in:
M66B 2019-10-25 08:53:02 +02:00
parent f3fa2d0038
commit 351e20e1cf
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ public class ViewCardOptional extends CardView {
public void setOutgoing(boolean outgoing) {
if (cards && threading && indentation) {
ViewGroup.MarginLayoutParams lparam = (ViewGroup.MarginLayoutParams) getLayoutParams();
lparam.setMarginStart(outgoing ? margin : ident);
lparam.setMarginEnd(outgoing ? ident : margin);
lparam.setMarginStart(outgoing ? ident : margin);
lparam.setMarginEnd(outgoing ? margin : ident);
setLayoutParams(lparam);
}
}