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