signal-desktop/ts/windows/init.ts
2024-01-16 22:32:38 +01:00

10 lines
338 B
TypeScript

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
document.body.classList.add(window.SignalContext.OS.getClassName());
if (window.SignalContext.renderWindow) {
window.SignalContext.renderWindow();
} else if (window.SignalContext.log) {
window.SignalContext.log.error('renderWindow is undefined!');
}