mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-23 18:08:05 +01:00
Replaces ConfirmationModal with ConfirmationDialog
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
import * as React from 'react';
|
||||
import { StickerPackInstallButton } from './StickerPackInstallButton';
|
||||
import { ConfirmationModal } from '../ConfirmationModal';
|
||||
import { ConfirmationDialog } from '../ConfirmationDialog';
|
||||
import { LocalizerType } from '../../types/Util';
|
||||
import { StickerPackType } from '../../state/ducks/stickers';
|
||||
|
||||
@@ -91,7 +91,7 @@ export const StickerManagerPackRow = React.memo(
|
||||
return (
|
||||
<>
|
||||
{uninstalling ? (
|
||||
<ConfirmationModal
|
||||
<ConfirmationDialog
|
||||
i18n={i18n}
|
||||
onClose={clearUninstalling}
|
||||
actions={[
|
||||
@@ -103,7 +103,7 @@ export const StickerManagerPackRow = React.memo(
|
||||
]}
|
||||
>
|
||||
{i18n('stickers--StickerManager--UninstallWarning')}
|
||||
</ConfirmationModal>
|
||||
</ConfirmationDialog>
|
||||
) : null}
|
||||
<div
|
||||
tabIndex={0}
|
||||
|
||||
Reference in New Issue
Block a user