Remove Common/Enums Magics.*

This commit is contained in:
djmaze 2020-08-13 22:58:41 +02:00
parent 382aef7ebb
commit 6541a1de7c
38 changed files with 135 additions and 219 deletions

View file

@ -2,7 +2,7 @@ import ko from 'ko';
import { pString, defautOptionsAfterRender } from 'Common/Utils';
import { Magics, KeyState } from 'Common/Enums';
import { KeyState } from 'Common/Enums';
import { i18n } from 'Common/Translator';
import PgpStore from 'Stores/User/Pgp';
@ -234,7 +234,7 @@ class ComposeOpenPgpPopupView extends AbstractViewNext {
}
this.submitRequest(false);
}, Magics.Time20ms);
}, 20);
} else {
this.submitRequest(false);
}