Get native theme through IPC not remote
This commit is contained in:
parent
d2cc8e5aa9
commit
71572db7a9
16 changed files with 227 additions and 60 deletions
|
@ -2295,6 +2295,10 @@ export async function startApp(): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
window.SignalContext.nativeThemeListener.subscribe(() => {
|
||||
onChangeTheme();
|
||||
});
|
||||
|
||||
const FIVE_MINUTES = 5 * 60 * 1000;
|
||||
|
||||
// Note: once this function returns, there still might be messages being processed on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue