mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 18:37:04 -04:00
CloudSync: fix accidently applying stale settings (#915
* modify the cloud timestamp before importing * use util/native relaunch * lambda why * "should work!" - Vendicated, 15th April 2023
This commit is contained in:
parent
7a98f1dfcb
commit
ff3589d157
2 changed files with 4 additions and 4 deletions
|
@ -35,6 +35,7 @@ export async function importSettings(data: string) {
|
|||
}
|
||||
|
||||
if ("settings" in parsed && "quickCss" in parsed) {
|
||||
Object.assign(PlainSettings, parsed.settings);
|
||||
await VencordNative.ipc.invoke(IpcEvents.SET_SETTINGS, JSON.stringify(parsed.settings, null, 4));
|
||||
await VencordNative.ipc.invoke(IpcEvents.SET_QUICK_CSS, parsed.quickCss);
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue