Subscribe to theme change in settings

This commit is contained in:
Fedor Indutny 2021-09-29 11:37:30 -07:00 committed by GitHub
parent 64fc234490
commit bdf1287403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 50 additions and 13 deletions

1
ts/window.d.ts vendored
View file

@ -474,6 +474,7 @@ declare global {
SignalWindow: {
Settings: {
themeSetting: SettingType<IPCEventsValuesType['themeSetting']>;
waitForChange: () => Promise<void>;
};
config: string;
context: SignalContext;