resetting the theme to config when clearing random

This commit is contained in:
Miodec 2022-03-14 01:49:45 +01:00
parent bcd9ba7bef
commit 44a5f6c7e9

View file

@ -223,6 +223,11 @@ export function randomizeTheme(): void {
export function clearRandom(): void {
randomTheme = null;
if (Config.customTheme) {
apply("custom", true);
} else {
apply(Config.theme, false);
}
}
export function applyCustomBackgroundSize(): void {