Skip to content

Commit

Permalink
chore: updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
1943time committed Feb 25, 2024
1 parent 89268ac commit ee0b2f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bluestone",
"version": "0.14.0",
"version": "0.14.1",
"description": "",
"main": "./out/main/index.js",
"license": "AGPL-3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/editor/utils/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const loadedLanguage = new Set<string>(['tex'])
export const codeReady = async (allLanguage = false) => {
if (!codeThemes.has(configStore.config.codeTheme)) {
runInAction(() => {
configStore.config.codeTheme = 'one-dark-pro'
configStore.config.codeTheme = codeThemes.has('one-dark-pro') ? 'one-dark-pro' : Array.from(codeThemes)[0]
})
}
highlighter = await getHighlighter({
Expand Down

0 comments on commit ee0b2f4

Please sign in to comment.