Use different z-index for app-loading-screen

This commit is contained in:
Fedor Indutny 2021-12-04 00:04:34 +01:00 committed by GitHub
parent 874a019227
commit e46a1979c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 64 additions and 26 deletions

View file

@ -9,6 +9,7 @@
// being included in a <script /> tag.
type ConfirmationDialogViewProps = {
onTopOfEverything?: boolean;
cancelText?: string;
confirmStyle?: 'affirmative' | 'negative';
message: string;
@ -50,6 +51,7 @@ function showConfirmationDialog(options: ConfirmationDialogViewProps) {
window.ReactDOM.render(
// eslint-disable-next-line react/react-in-jsx-scope, react/jsx-no-undef
<window.Signal.Components.ConfirmationDialog
onTopOfEverything={options.onTopOfEverything}
actions={[
{
action: () => {