fix: use correct new line string for simple code writer

This commit is contained in:
Skylot
2024-04-20 16:41:46 +01:00
parent be25cbf8c2
commit bc70f8eabb
2 changed files with 2 additions and 1 deletions
@@ -44,7 +44,7 @@ public class SimpleCodeWriter implements ICodeWriter {
public SimpleCodeWriter() {
this.insertLineNumbers = false;
this.singleIndentStr = JadxArgs.DEFAULT_INDENT_STR;
this.newLineStr = JadxArgs.DEFAULT_INDENT_STR;
this.newLineStr = JadxArgs.DEFAULT_NEW_LINE_STR;
}
@Override
@@ -11,6 +11,7 @@ public class SmaliWriter extends SimpleCodeWriter {
private final ClassNode cls;
public SmaliWriter(ClassNode cls) {
super(cls.root().getArgs());
this.cls = cls;
}