Drop Capa enums

This commit is contained in:
the-djmaze 2022-03-05 22:25:32 +01:00
parent f44507a69b
commit 874f2592ca
14 changed files with 42 additions and 64 deletions

View file

@ -1,6 +1,5 @@
import ko from 'ko';
import { Capa } from 'Common/Enums';
import { SettingsCapa } from 'Common/Globals';
//import { EmailModel } from 'Model/Email';
@ -102,7 +101,7 @@ export const GnuPGUserStore = new class {
* @returns {boolean}
*/
isSupported() {
return SettingsCapa(Capa.GnuPG);
return SettingsCapa('GnuPG');
}
importKey(key, callback) {