move safeStorage to api

This commit is contained in:
Abhinav 2022-08-25 14:52:37 +05:30
parent 9446a34b23
commit ba2bf813ec
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import { ipcRenderer } from 'electron'; import { ipcRenderer } from 'electron';
import { safeStorageStore } from '../services/store'; import { safeStorageStore } from '../services/store';
import { logError } from './logging'; import { logError } from '../utils/logging';
export async function setEncryptionKey(encryptionKey: string) { export async function setEncryptionKey(encryptionKey: string) {
try { try {

View file

@ -8,7 +8,7 @@ import {
getElectronFilesFromGoogleZip, getElectronFilesFromGoogleZip,
setToUploadCollection, setToUploadCollection,
} from './api/upload'; } from './api/upload';
import { getEncryptionKey, setEncryptionKey } from './utils/safeStorage'; import { getEncryptionKey, setEncryptionKey } from './api/safeStorage';
import { clearElectronStore } from './utils/electronStore'; import { clearElectronStore } from './utils/electronStore';
import { openDiskCache, deleteDiskCache } from './utils/cache'; import { openDiskCache, deleteDiskCache } from './utils/cache';
import { import {