move safeStorage to api
This commit is contained in:
parent
9446a34b23
commit
ba2bf813ec
|
@ -1,6 +1,6 @@
|
|||
import { ipcRenderer } from 'electron';
|
||||
import { safeStorageStore } from '../services/store';
|
||||
import { logError } from './logging';
|
||||
import { logError } from '../utils/logging';
|
||||
|
||||
export async function setEncryptionKey(encryptionKey: string) {
|
||||
try {
|
|
@ -8,7 +8,7 @@ import {
|
|||
getElectronFilesFromGoogleZip,
|
||||
setToUploadCollection,
|
||||
} from './api/upload';
|
||||
import { getEncryptionKey, setEncryptionKey } from './utils/safeStorage';
|
||||
import { getEncryptionKey, setEncryptionKey } from './api/safeStorage';
|
||||
import { clearElectronStore } from './utils/electronStore';
|
||||
import { openDiskCache, deleteDiskCache } from './utils/cache';
|
||||
import {
|
||||
|
|
Loading…
Reference in a new issue