Update SNJS

This commit is contained in:
Mo Bitar
2020-03-14 11:06:03 -05:00
parent 444c18bbde
commit 8fcfef08a6
22 changed files with 89726 additions and 68 deletions

View File

@@ -45,7 +45,7 @@ class SessionHistoryMenuCtrl {
}
clearItemHistory() {
this.application.alertManager.confirm({
this.application.alertService.confirm({
text: "Are you sure you want to delete the local session history for this note?",
destructive: true,
onConfirm: () => {
@@ -59,7 +59,7 @@ class SessionHistoryMenuCtrl {
}
clearAllHistory() {
this.application.alertManager.confirm({
this.application.alertService.confirm({
text: "Are you sure you want to delete the local session history for all notes?",
destructive: true,
onConfirm: () => {
@@ -81,7 +81,7 @@ class SessionHistoryMenuCtrl {
});
};
if (!this.application.historyManager.diskEnabled) {
this.application.alertManager.confirm({
this.application.alertService.confirm({
text: `Are you sure you want to save history to disk? This will decrease general
performance, especially as you type. You are advised to disable this feature
if you experience any lagging.`,