Fix bug which deleted portraits and model notes for all sites other than chaturbate

This commit is contained in:
0xb00bface 2023-04-10 16:29:24 +02:00
parent 4bec3f0fc8
commit 8003db6d75
1 changed files with 4 additions and 0 deletions

View File

@ -195,6 +195,8 @@ public class Config {
getSettings().modelNotes.forEach((key, value) -> {
if (key.contains(CTB)) {
convertedModelNotes.put(key.toLowerCase(), value);
} else {
convertedModelNotes.put(key, value);
}
});
getSettings().modelNotes.clear();
@ -205,6 +207,8 @@ public class Config {
getSettings().modelPortraits.forEach((key, value) -> {
if (key.contains(CTB)) {
convertedModelPortraits.put(key.toLowerCase(), value);
} else {
convertedModelPortraits.put(key, value);
}
});
getSettings().modelPortraits.clear();