TS complete

This commit is contained in:
Mo Bitar
2020-04-13 10:04:19 -05:00
parent 3d955e4b7d
commit 7ee9610dca
29 changed files with 351 additions and 435 deletions

View File

@@ -655,7 +655,7 @@ class NotesCtrl extends PureCtrl {
this.setShowMenuFalse();
}
toggleWebPrefKey(key: string) {
toggleWebPrefKey(key: WebPrefKey) {
this.application!.getPrefsService().setUserPrefValue(key, !this.state[key]);
this.application!.getPrefsService().syncUserPreferences();
}