Replace the native confirm and alert with an in-app dialog. [skip build]
This commit is contained in:
@@ -61,6 +61,7 @@ import {
|
||||
materializeSharedFile,
|
||||
} from '../../utils/androidShare';
|
||||
import { UpdatesDialogHost } from '../../components/updates-dialog';
|
||||
import { DialogHost } from '../../components/DialogHost';
|
||||
|
||||
/**
|
||||
* Applies the selected emoji style font to the document.
|
||||
@@ -701,6 +702,7 @@ export function ClientNonUIFeatures({ children }: ClientNonUIFeaturesProps) {
|
||||
<AndroidShareIntentHandler />
|
||||
{children}
|
||||
<UpdatesDialogHost />
|
||||
<DialogHost />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user