Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初回起動時の利用規約への同意ボタンの挙動が逆になっている #2391

Closed
1 of 3 tasks
aurantiacum opened this issue Dec 5, 2024 · 1 comment · Fixed by #2392
Closed
1 of 3 tasks
Labels

Comments

@aurantiacum
Copy link

不具合の内容

VOICEVOXの初回起動時に表示される、利用規約への同意を確認するダイアログにおいて、右上にある「同意せずに終了」と「同意して使用開始」の挙動が逆になっているように見えます。

現象・ログ

「同意せずに終了」ボタンを押下すると次の画面に進みますが、
「同意して使用開始」ボタンを押下するとアプリが終了します。

再現手順

VOICEVOX初回起動時の「利用規約に関するお知らせ」で、「同意せずに終了」や「同意して使用開始」を押下する。

期待動作

「同意せずに終了」ボタンを押下するとアプリが終了し、
「同意して使用開始」ボタンを押下すると次の画面に進む。

VOICEVOXのバージョン

0.21.1

OSの種類/ディストリ/バージョン

  • Windows
  • macOS
  • Linux (AppImage)

その他

@Hiroshiba
Copy link
Member

!!!!!!!!
ご報告ありがとうございます!!!!

たしかにこちらのコードのifのフラグが逆ですね・・・!!!

if (acceptTerms) {
void store.actions.CHECK_EDITED_AND_NOT_SAVE({
closeOrReload: "close",
});
}

同タイミングで変わったAcceptRetrieveTelemetryDialogは問題なさそう

const handler = (acceptRetrieveTelemetry: boolean) => {
void store.actions.SET_ACCEPT_RETRIEVE_TELEMETRY({
acceptRetrieveTelemetry: acceptRetrieveTelemetry ? "Accepted" : "Refused",
});
modelValueComputed.value = false;
};

こちら急いで変更したいと思います!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants