mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
Add extra warnings about encrypted export
This commit is contained in:
@@ -148,10 +148,12 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||
});
|
||||
}
|
||||
|
||||
showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string) {
|
||||
showDialog(body: string, title?: string, confirmText?: string, cancelText?: string, type?: string,
|
||||
bodyIsHtml: boolean = false) {
|
||||
const dialogId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
|
||||
this.messagingService.send('showDialog', {
|
||||
text: text,
|
||||
text: bodyIsHtml ? null : body,
|
||||
html: bodyIsHtml ? body : null,
|
||||
title: title,
|
||||
confirmText: confirmText,
|
||||
cancelText: cancelText,
|
||||
|
||||
Reference in New Issue
Block a user