2021-09-16 15:52:56 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2023-02-23 21:32:19 +00:00
|
|
|
document.body.classList.add(window.SignalContext.OS.getClassName());
|
|
|
|
if (window.SignalContext.OS.hasCustomTitleBar()) {
|
|
|
|
document.body.classList.add('os-has-custom-titlebar');
|
|
|
|
}
|
|
|
|
|
2021-10-07 23:28:47 +00:00
|
|
|
if (window.SignalContext.renderWindow) {
|
|
|
|
window.SignalContext.renderWindow();
|
|
|
|
} else {
|
|
|
|
window.SignalContext.log.error('renderWindow is undefined!');
|
|
|
|
}
|