Convert user stores to single object instances

Removed unused ContactUserStore.exportingCsv and ContactUserStore.exportingVcf
This commit is contained in:
djmaze 2021-03-10 22:41:35 +01:00
parent 914c6e8d14
commit 6a454ec624
46 changed files with 671 additions and 710 deletions

View file

@ -2,7 +2,7 @@ import { StorageResultType, Notification } from 'Common/Enums';
import { i18n, getNotification } from 'Common/Translator';
import { setFolderHash } from 'Common/Cache';
import MessageStore from 'Stores/User/Message';
import { MessageUserStore } from 'Stores/User/Message';
import Remote from 'Remote/User/Fetch';
@ -44,8 +44,8 @@ class FolderClearPopupView extends AbstractViewPopup {
clearCommand() {
const folderToClear = this.selectedFolder();
if (folderToClear) {
MessageStore.message(null);
MessageStore.messageList([]);
MessageUserStore.message(null);
MessageUserStore.messageList([]);
this.clearingProcess(true);