mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Drop Capa enums
This commit is contained in:
parent
f44507a69b
commit
874f2592ca
14 changed files with 42 additions and 64 deletions
|
|
@ -7,7 +7,6 @@ import { IdentityUserStore } from 'Stores/User/Identity';
|
|||
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
import { Capa } from 'Common/Enums';
|
||||
import { SettingsCapa } from 'Common/Globals';
|
||||
|
||||
export class OpenPgpGeneratePopupView extends AbstractViewPopup {
|
||||
|
|
@ -34,7 +33,7 @@ export class OpenPgpGeneratePopupView extends AbstractViewPopup {
|
|||
saveGnuPGPrivate: false
|
||||
});
|
||||
|
||||
this.canGnuPG = SettingsCapa(Capa.GnuPG);
|
||||
this.canGnuPG = SettingsCapa('GnuPG');
|
||||
|
||||
this.email.subscribe(() => this.emailError(false));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue