()
| 240 | } |
| 241 | |
| 242 | async function clearRandom(): Promise<void> { |
| 243 | if (randomTheme === null) return; |
| 244 | randomTheme = null; |
| 245 | if (Config.customTheme) { |
| 246 | await apply("custom"); |
| 247 | } else { |
| 248 | await apply(Config.theme); |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | function applyCustomBackgroundSize(): void { |
| 253 | if (Config.customBackgroundSize === "max") { |
no test coverage detected