Fix ViewIcons and NoProfileThemes

This commit is contained in:
Nuckyz 2024-08-23 03:02:04 -03:00
parent 2e81b9aeba
commit ed9b28febf
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
5 changed files with 29 additions and 34 deletions

View file

@ -134,7 +134,7 @@ export async function loadLazyChunks() {
const allChunks = [] as number[];
// Matches "id" or id:
for (const currentMatch of wreq!.u.toString().matchAll(/(?:"([\deE]+?)")|(?:([\deE]+?):)/g)) {
for (const currentMatch of wreq!.u.toString().matchAll(/(?:"([\deE]+?)"(?![,}]))|(?:([\deE]+?):)/g)) {
const id = currentMatch[1] ?? currentMatch[2];
if (id == null) continue;