diff --git a/dev/View/Popup/Contacts.js b/dev/View/Popup/Contacts.js index 073b664ed..181d5795d 100644 --- a/dev/View/Popup/Contacts.js +++ b/dev/View/Popup/Contacts.js @@ -1,6 +1,5 @@ import { koArrayWithDestroy } from 'External/ko'; -import { SaveSettingsStep } from 'Common/Enums'; import { ComposeType } from 'Common/EnumsUser'; import { registerShortcut } from 'Common/Globals'; import { arrayLength, pInt } from 'Common/Utils'; @@ -49,8 +48,6 @@ export class ContactsPopupView extends AbstractViewPopup { viewReadOnly: false, - viewSaveTrigger: SaveSettingsStep.Idle, - viewSaving: false, watchDirty: false, @@ -190,7 +187,6 @@ export class ContactsPopupView extends AbstractViewPopup { saveCommand() { this.viewSaving(true); - this.viewSaveTrigger(SaveSettingsStep.Animate); const contact = this.contact(), @@ -210,13 +206,8 @@ export class ContactsPopupView extends AbstractViewPopup { res = true; } - setTimeout(() => - this.viewSaveTrigger(res ? SaveSettingsStep.TrueResult : SaveSettingsStep.FalseResult) - , 350); - if (res) { this.watchDirty(false); - setTimeout(() => this.viewSaveTrigger(SaveSettingsStep.Idle), 1000); } }, { RequestUid: requestUid,