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

@ -1,6 +1,6 @@
import ko from 'ko';
import { KeyState, Magics, StorageResultType, Notification } from 'Common/Enums';
import { KeyState, StorageResultType, Notification } from 'Common/Enums';
import { isNonEmptyArray, delegateRun } from 'Common/Utils';
import { getNotification, i18n } from 'Common/Translator';
@ -45,7 +45,7 @@ class PluginPopupView extends AbstractViewNext {
this.tryToClosePopup = ()=>{
// debounce
d && clearTimeout(d);
d = setTimeout(fn, Magics.Time200ms);
d = setTimeout(fn, 200);
};
}