Skip to content

Commit

Permalink
fix: GPUデバイス確認中のローディング画面を適切に非表示にする
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Feb 2, 2025
1 parent 7a6618f commit 77a316c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/store/setting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ export const settingStore = createPartialStore<SettingStoreTypes>({
showLoadingScreen({ message: "GPUデバイスを確認中です" });

const isAvailableGPUMode = await window.backend.isAvailableGPUMode();

hideAllLoadingScreen();

if (!isAvailableGPUMode) {
const result = await showQuestionDialog({
type: "warning",
Expand All @@ -378,8 +381,6 @@ export const settingStore = createPartialStore<SettingStoreTypes>({
return;
}
}

hideAllLoadingScreen();
}

showLoadingScreen({
Expand Down

0 comments on commit 77a316c

Please sign in to comment.