()
| 259 | } |
| 260 | |
| 261 | static async getStaticThemesText(): Promise<string> { |
| 262 | let rawThemes = await DevTools.getSavedStaticThemes(); |
| 263 | if (!rawThemes) { |
| 264 | await ConfigManager.load(); |
| 265 | rawThemes = ConfigManager.STATIC_THEMES_RAW || ''; |
| 266 | } |
| 267 | const themes = parseStaticThemes(rawThemes); |
| 268 | return formatStaticThemes(themes); |
| 269 | } |
| 270 | |
| 271 | private static resetStaticThemes(): void { |
| 272 | DevTools.store.remove(DevTools.KEY_STATIC); |
no test coverage detected