Skip to content

Commit 52a4492

Browse files
committed
🐛 Fix some small bugs
1 parent a4faf5d commit 52a4492

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export default function App() {
278278
} else if (project.state === ProjectState.Unsaved) {
279279
// 切换到这个文件
280280
setActiveProject(project);
281-
const response = await Dialog.buttons("是否保存更改?", project.uri.toString(), [
281+
const response = await Dialog.buttons("是否保存更改?", decodeURI(project.uri.toString()), [
282282
{ id: "cancel", label: "取消", variant: "ghost" },
283283
{ id: "discard", label: "不保存", variant: "destructive" },
284284
{ id: "save", label: "保存" },

app/src/core/service/Settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const settingsSchema = z.object({
147147
uiSwitchButtonOffSoundFile: z.string().default(""),
148148
githubToken: z.string().default(""),
149149
githubUser: z.string().default(""),
150-
theme: z.string().default("dark"),
150+
theme: z.string().default("dark-blue"),
151151
});
152152

153153
export type Settings = z.infer<typeof settingsSchema>;

0 commit comments

Comments
 (0)