mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Fix React warning when mounting <App>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<!-- Copyright 2014-2020 Signal Messenger, LLC -->
|
<!-- Copyright 2014-2021 Signal Messenger, LLC -->
|
||||||
<!-- SPDX-License-Identifier: AGPL-3.0-only -->
|
<!-- SPDX-License-Identifier: AGPL-3.0-only -->
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
@@ -352,6 +352,7 @@
|
|||||||
<script type='text/javascript' src='js/keychange_listener.js'></script>
|
<script type='text/javascript' src='js/keychange_listener.js'></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="overflow-hidden">
|
<body class="overflow-hidden">
|
||||||
|
<div id='app-container'>
|
||||||
<div class='app-loading-screen'>
|
<div class='app-loading-screen'>
|
||||||
<div class='module-title-bar-drag-area'></div>
|
<div class='module-title-bar-drag-area'></div>
|
||||||
|
|
||||||
@@ -365,6 +366,7 @@
|
|||||||
<div class='message'></div>
|
<div class='message'></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Note: this inline script cannot be changed without also changing the hash in
|
Note: this inline script cannot be changed without also changing the hash in
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
// Copyright 2015-2020 Signal Messenger, LLC
|
// Copyright 2015-2021 Signal Messenger, LLC
|
||||||
// SPDX-License-Identifier: AGPL-3.0-only
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
|
#app-container {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.conversation-stack,
|
.conversation-stack,
|
||||||
.new-conversation,
|
.new-conversation,
|
||||||
.inbox,
|
.inbox,
|
||||||
|
|||||||
@@ -1715,7 +1715,7 @@ export async function startApp(): Promise<void> {
|
|||||||
cancelInitializationMessage();
|
cancelInitializationMessage();
|
||||||
render(
|
render(
|
||||||
window.Signal.State.Roots.createApp(window.reduxStore),
|
window.Signal.State.Roots.createApp(window.reduxStore),
|
||||||
document.body
|
document.getElementById('app-container')
|
||||||
);
|
);
|
||||||
const hideMenuBar = window.storage.get('hide-menu-bar', false);
|
const hideMenuBar = window.storage.get('hide-menu-bar', false);
|
||||||
window.setAutoHideMenuBar(hideMenuBar);
|
window.setAutoHideMenuBar(hideMenuBar);
|
||||||
|
|||||||
Reference in New Issue
Block a user