Change ephemeral settings to only persist in ephemeralConfig
This commit is contained in:
parent
07e2fb7f60
commit
73e8bec42f
18 changed files with 295 additions and 265 deletions
|
@ -3,9 +3,9 @@
|
|||
|
||||
import { getThemeType } from '../util/getThemeType';
|
||||
|
||||
export function themeChanged(): void {
|
||||
export async function themeChanged(): Promise<void> {
|
||||
if (window.reduxActions && window.reduxActions.user) {
|
||||
const theme = getThemeType();
|
||||
const theme = await getThemeType();
|
||||
window.reduxActions.user.userChanged({ theme });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue