chore: upgrade snjs deps

This commit is contained in:
Mo
2022-05-02 13:08:28 -05:00
parent 99d83af3ba
commit c2adf74ad2
6 changed files with 126 additions and 84 deletions

View File

@@ -1,4 +1,4 @@
import { SNAlertService, ButtonType, sanitizeHtmlString } from '@standardnotes/snjs'
import { AlertService, ButtonType, sanitizeHtmlString } from '@standardnotes/snjs'
import { SKAlert } from '@standardnotes/stylekit'
/** @returns a promise resolving to true if the user confirmed, false if they canceled */
@@ -65,7 +65,7 @@ export function alertDialog({
})
}
export class AlertService extends SNAlertService {
export class WebAlertService extends AlertService {
alert(text: string, title?: string, closeButtonText?: string) {
return alertDialog({ text, title, closeButtonText })
}