not reapplying theme if theme wasnt random

This commit is contained in:
Miodec 2022-03-14 01:58:25 +01:00
parent 44a5f6c7e9
commit f73b513e88

View file

@ -222,6 +222,7 @@ export function randomizeTheme(): void {
}
export function clearRandom(): void {
if (randomTheme === null) return;
randomTheme = null;
if (Config.customTheme) {
apply("custom", true);