mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Change ephemeral settings to only persist in ephemeralConfig
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user