Reverse indentation

pull/164/head
M66B 5 years ago
parent f3fa2d0038
commit 351e20e1cf

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

Loading…
Cancel
Save