Added a cache remover for the zen themes

This commit is contained in:
mauro-balades 2024-10-07 18:27:59 +02:00
parent 5a2bf6477b
commit 3ddb98ccb4
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

View file

@ -21,6 +21,10 @@ var ZenThemesCommon = {
return PathUtils.join(this.themesRootPath, themeId);
},
resetThemesCache() {
this.themes = null;
},
async getThemes() {
if (!this.themes) {
if (!(await IOUtils.exists(this.themesDataFile))) {