Support mobile version

This commit is contained in:
Unarray 2023-08-27 13:21:52 +02:00
parent e99d932ed6
commit 2cba2e6fc0

View file

@ -15,7 +15,7 @@ export class GenerateTree extends Modal {
private useIgnore = true;
private readonly separators = {
platform: sep ? sep : "/",
platform: Platform.isDesktop ? sep : "/",
normal: "/",
reverse: "\\"
} as const;
@ -194,7 +194,7 @@ export class GenerateTree extends Modal {
this.editor.setLine(
cursorLine,
`${this.editor.getLine(cursorLine)}\n${callouts}`
`${this.editor.getLine(cursorLine)}\n\n${callouts}`
);
this.close();