13 lines
448 B
TypeScript
13 lines
448 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.OS.hasCustomTitleBar()) {
|
|
document.body.classList.add('os-has-custom-titlebar');
|
|
}
|
|
|
|
if (window.SignalContext.renderWindow) {
|
|
window.SignalContext.renderWindow();
|
|
} else if (window.SignalContext.log) {
|
|
window.SignalContext.log.error('renderWindow is undefined!');
|
|
}
|