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
16 changed files with 227 additions and 60 deletions

6
ts/types/NativeThemeNotifier.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export type NativeThemeState = Readonly<{
shouldUseDarkColors: boolean;
}>;