feat: implement SNJS blocking dialog title

This commit is contained in:
Baptiste Grob
2020-09-10 17:26:47 +02:00
parent f7e9b0ec0c
commit ed07655289

View File

@@ -91,8 +91,8 @@ export class AlertService implements SNAlertService {
});
}
blockingDialog(text: string) {
const alert = new SKAlert({ text });
blockingDialog(text: string, title?: string) {
const alert = new SKAlert({ text, title });
alert.present();
return () => {
alert.dismiss();