Skip to content

Commit

Permalink
showQuestionDialog �ð�g�¤�悤�É
Browse files Browse the repository at this point in the history
  • Loading branch information
raa0121 committed Jun 9, 2022
1 parent 5357d52 commit 87d5f28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,12 @@ export const uiStore: VoiceVoxStoreOptions<UiGetters, UiActions, UiMutations> =
commit("LOCK_UI");
commit("LOCK_MENUBAR");

const result: number = await window.electron.showInfoDialog({
const result: number = await window.electron.showQuestionDialog({
type: "info",
title: "アップデートチェック",
message: "アップデートチェックを行います。\nよろしいですか?",
buttons: ["はい", "いいえ"],
cancelId: 1,
});
commit("UNLOCK_UI");
commit("UNLOCK_MENUBAR");
Expand Down

0 comments on commit 87d5f28

Please sign in to comment.