mirror of
https://github.com/unarray/file-tree-generator.git
synced 2026-07-22 08:40:29 +00:00
Support mobile version
This commit is contained in:
parent
e99d932ed6
commit
2cba2e6fc0
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue