Get native theme through IPC not remote

This commit is contained in:
Fedor Indutny 2021-06-30 11:57:43 -07:00 committed by GitHub
parent d2cc8e5aa9
commit 71572db7a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 227 additions and 60 deletions

View file

@ -20,7 +20,7 @@ async function applyTheme() {
applyTheme();
window.subscribeToSystemThemeChange(() => {
window.SignalContext.nativeThemeListener.subscribe(() => {
applyTheme();
});