Added conditions to VR overlay notifications + refactor. (#1043)

This commit is contained in:
Thomas
2024-12-21 22:15:18 +00:00
committed by GitHub
parent c6ecdfcbd2
commit 13ab45fcec
15 changed files with 133 additions and 198 deletions

View File

@@ -7915,6 +7915,10 @@ speechSynthesis.getVoices();
'VRCX_afkDesktopToast',
false
);
$app.data.overlayToast = await configRepository.getString(
'VRCX_overlayToast',
'Game Running'
)
$app.data.minimalFeed = await configRepository.getBool(
'VRCX_minimalFeed',
false
@@ -8128,6 +8132,10 @@ speechSynthesis.getVoices();
'VRCX_afkDesktopToast',
this.afkDesktopToast
);
await configRepository.setString(
'VRCX_overlayToast',
this.overlayToast
)
await configRepository.setBool(
'VRCX_notificationTTSNickName',
this.notificationTTSNickName