mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-02 04:56:06 +02:00
use action from store instead of directly modifying state in components
This commit is contained in:
@@ -240,6 +240,13 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
||||
proxyServer.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
*/
|
||||
function setIpcEnabled(value) {
|
||||
ipcEnabled.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@@ -870,6 +877,7 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
||||
appStartAt,
|
||||
proxyServer,
|
||||
setProxyServer,
|
||||
setIpcEnabled,
|
||||
currentlyDroppingFile,
|
||||
isRegistryBackupDialogVisible,
|
||||
ipcEnabled,
|
||||
|
||||
Reference in New Issue
Block a user