Skip to content

Commit

Permalink
Merge branch 'fix/thm-br'
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaUshio committed Nov 24, 2023
2 parents fdc5b85 + f0f505c commit cc183e2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manifest-beta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "math-booster",
"name": "Math Booster",
"version": "2.0.1",
"version": "2.0.2",
"minAppVersion": "1.3.5",
"description": "Turn your Obsidian into LaTeX on steroids. Dynamically numbered theorem environments & equations, enhanced theorems/equations search & link auto-completion, and live-rendering of equations inside callouts & quotes.",
"author": "Ryota Ushio",
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "math-booster",
"name": "Math Booster",
"version": "2.0.1",
"version": "2.0.2",
"minAppVersion": "1.3.5",
"description": "Turn your Obsidian into LaTeX on steroids. Dynamically numbered theorem environments & equations, enhanced theorems/equations search & link auto-completion, and live-rendering of equations inside callouts & quotes.",
"author": "Ryota Ushio",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-math-booster",
"version": "2.0.1",
"version": "2.0.2",
"description": "Turn your Obsidian into LaTeX on steroids. Dynamically numbered theorem environments & equations, enhanced theorems/equations search & link auto-completion, and live-rendering of equations inside callouts & quotes.",
"scripts": {
"dev": "node esbuild.config.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/index/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class MathIndexManager extends Component {
private async rename(file: TAbstractFile, oldPath: string) {
if (!(file instanceof TFile)) return;

this.plugin.settings[file.path] = JSON.parse(JSON.stringify(this.plugin.settings[oldPath]));
this.plugin.settings[file.path] = structuredClone(this.plugin.settings[oldPath]);
delete this.plugin.settings[oldPath];
this.plugin.excludedFiles.remove(oldPath);
this.plugin.excludedFiles.push(file.path);
Expand Down
2 changes: 1 addition & 1 deletion src/notice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class DependencyNotificationModal extends Modal {

showDependencies() {
this.contentEl.createDiv({
text: `${this.plugin.manifest.name} requires the following plugins to work properly. Disable it once, install/update & enable the dependencies and enable it again.`,
text: `${this.plugin.manifest.name} requires the following plugin to work properly.`,
attr: { style: "margin-bottom: 1em;" }
});

Expand Down

0 comments on commit cc183e2

Please sign in to comment.