mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-23 01:48:13 +01:00
19 lines
420 B
TypeScript
19 lines
420 B
TypeScript
// Copyright 2021 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
import { Bytes } from './Bytes';
|
|
import {
|
|
createNativeThemeListener,
|
|
MinimalIPC,
|
|
} from './createNativeThemeListener';
|
|
|
|
export class Context {
|
|
public readonly bytes = new Bytes();
|
|
|
|
public readonly nativeThemeListener;
|
|
|
|
constructor(ipc: MinimalIPC) {
|
|
this.nativeThemeListener = createNativeThemeListener(ipc, window);
|
|
}
|
|
}
|