mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-10 01:47:03 +03:00
Remove Common/Enums Magics.*
This commit is contained in:
parent
382aef7ebb
commit
6541a1de7c
38 changed files with 135 additions and 219 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { Magics } from 'Common/Enums';
|
||||
import { delegateRun, pInt } from 'Common/Utils';
|
||||
|
||||
import PgpStore from 'Stores/User/Pgp';
|
||||
|
|
@ -24,7 +23,7 @@ class NewOpenPgpKeyPopupView extends AbstractViewNext {
|
|||
|
||||
this.name = ko.observable('');
|
||||
this.password = ko.observable('');
|
||||
this.keyBitLength = ko.observable(Magics.BitLength2048);
|
||||
this.keyBitLength = ko.observable(2048);
|
||||
|
||||
this.submitRequest = ko.observable(false);
|
||||
this.submitError = ko.observable('');
|
||||
|
|
@ -81,7 +80,7 @@ class NewOpenPgpKeyPopupView extends AbstractViewNext {
|
|||
this.submitRequest(false);
|
||||
this.showError(e);
|
||||
}
|
||||
}, Magics.Time100ms);
|
||||
}, 100);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
@ -99,7 +98,7 @@ class NewOpenPgpKeyPopupView extends AbstractViewNext {
|
|||
|
||||
this.email('');
|
||||
this.email.error(false);
|
||||
this.keyBitLength(Magics.BitLength2048);
|
||||
this.keyBitLength(2048);
|
||||
|
||||
this.submitError('');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue