Skip to content

Commit

Permalink
Fix the auto-generated "Notes" booklet sometimes being displayed twic…
Browse files Browse the repository at this point in the history
…e in the booklets collection
  • Loading branch information
Wertzui123 committed Jul 10, 2024
1 parent a163d08 commit 2f6ce9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.aspl
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ if(AppState:booklets.length == 0 || !hasAnySelected){
}
booklet.save() // create an .lci file
booklet.prepare()
io.write_file(io.join_path([Booklet:getBookletsPath(), "current.txt"]), booklet.name)
}
if(io.exists_file(io.join_path([Booklet:getBookletsPath(), "pens.json"]))){
AppState:pens = Pen:jsonDecodePens(io.read_file(io.join_path([Booklet:getBookletsPath(), "pens.json"])))
Expand Down

0 comments on commit 2f6ce9b

Please sign in to comment.