Skip to content

Commit

Permalink
fix bug file name
Browse files Browse the repository at this point in the history
  • Loading branch information
pourmand1376 committed Aug 16, 2023
1 parent 09fe045 commit 7ebfb8e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3,683 deletions.
3 changes: 2 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ class FontSettingTab extends PluginSettingTab {

// Add files as options
for (const file of files.files) {
options.push({ name: file, value: file });
const file_name = file.split('/')[2]
options.push({ name: file_name, value: file_name });
}
}

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": "obsidian-custom-font",
"name": "Obsidian Custom Font",
"version": "1.0.1",
"version": "1.0.2",
"minAppVersion": "0.15.0",
"description": "This plugin adds any custom font to obsidian (including obisidian mobile)",
"author": "Obsidian",
Expand Down
Loading

0 comments on commit 7ebfb8e

Please sign in to comment.