Fix sentry prompt

This commit is contained in:
Natsumi
2025-09-24 23:36:42 +12:00
parent ee132179aa
commit 88c66b284a
+8 -7
View File
@@ -123,7 +123,7 @@ export const useAdvancedSettingsStore = defineStore('AdvancedSettings', () => {
configRepository.getBool('VRCX_saveInstanceEmoji', false), configRepository.getBool('VRCX_saveInstanceEmoji', false),
configRepository.getBool('VRCX_vrcRegistryAutoBackup', true), configRepository.getBool('VRCX_vrcRegistryAutoBackup', true),
configRepository.getBool('VRCX_vrcRegistryAskRestore', true), configRepository.getBool('VRCX_vrcRegistryAskRestore', true),
configRepository.getString('VRCX_SentryEnabled', 'false') configRepository.getString('VRCX_SentryEnabled', '')
]); ]);
state.enablePrimaryPassword = enablePrimaryPassword; state.enablePrimaryPassword = enablePrimaryPassword;
@@ -440,15 +440,16 @@ export const useAdvancedSettingsStore = defineStore('AdvancedSettings', () => {
async function checkSentryConsent() { async function checkSentryConsent() {
ElMessageBox.confirm( ElMessageBox.confirm(
'Help improve VRCX by allowing anonymous error reporting?\n\n' + 'Help improve VRCX by allowing anonymous error reporting?</br></br>' +
'• Only collects crash and error information\n' + '• Only collects crash and error information.</br>' +
'• No personal data or VRChat information is collected\n' + '• No personal data or VRChat information is collected.</br>' +
'• Only enabled in nightly builds\n' + '• Only enabled in nightly builds.</br>' +
'• Can be disabled anytime in Advanced Settings', '• Can be disabled at anytime in Advanced Settings.',
'Anonymous Error Reporting', 'Anonymous Error Reporting',
{ {
type: 'info', type: 'info',
center: true center: true,
dangerouslyUseHTMLString: true
} }
) )
.then(() => { .then(() => {