mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 08:34:48 +00:00
hotfix
Signed-off-by: zumbiepig <121742281+zumbiepig@users.noreply.github.com>
This commit is contained in:
parent
4a57377ac0
commit
5fc13f99b5
@ -430,14 +430,14 @@ const storage = {
|
||||
const json: Record<string, unknown> = {};
|
||||
json[key] = value;
|
||||
localStorage.setItem(
|
||||
'minexlauncher',
|
||||
'minexlauncher-v2',
|
||||
base64Gzip.compress(JSON.stringify(json)),
|
||||
);
|
||||
} else {
|
||||
const json = JSON.parse(base64Gzip.decompress(item));
|
||||
json[key] = value;
|
||||
localStorage.setItem(
|
||||
'minexlauncher',
|
||||
'minexlauncher-v2',
|
||||
base64Gzip.compress(JSON.stringify(json)),
|
||||
);
|
||||
}
|
||||
@ -464,14 +464,14 @@ const storage = {
|
||||
const json: Record<string, unknown> = {};
|
||||
json[key] = value;
|
||||
sessionStorage.setItem(
|
||||
'minexlauncher',
|
||||
'minexlauncher-v2',
|
||||
base64Gzip.compress(JSON.stringify(json)),
|
||||
);
|
||||
} else {
|
||||
const json = JSON.parse(base64Gzip.decompress(item));
|
||||
json[key] = value;
|
||||
sessionStorage.setItem(
|
||||
'minexlauncher',
|
||||
'minexlauncher-v2',
|
||||
base64Gzip.compress(JSON.stringify(json)),
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user