Fix theme shop themes not applying as a base

- [#217] fixed theme shop themes not applying as a base
- added `themes` state path to store themes locally at
This commit is contained in:
brecert
2021-09-11 15:40:14 -04:00
parent 5b422b89e3
commit 537f9b1596
6 changed files with 86 additions and 18 deletions

View File

@@ -12,6 +12,7 @@ import { sectionToggle, SectionToggleAction } from "./section_toggle";
import { config, ConfigAction } from "./server_config";
import { settings, SettingsAction } from "./settings";
import { sync, SyncAction } from "./sync";
import { themes, ThemesAction } from "./themes";
import { trustedLinks, TrustedLinksAction } from "./trusted_links";
import { unreads, UnreadsAction } from "./unreads";
@@ -29,6 +30,7 @@ export default combineReducers({
notifications,
sectionToggle,
trustedLinks,
themes,
});
export type Action =
@@ -45,4 +47,5 @@ export type Action =
| NotificationsAction
| SectionToggleAction
| TrustedLinksAction
| ThemesAction
| { type: "__INIT"; state: State };