Desktop manager TS

This commit is contained in:
Mo Bitar
2020-04-13 09:00:09 -05:00
parent aed8d4a3da
commit 421216bf1b
10 changed files with 421 additions and 385 deletions

View File

@@ -2,7 +2,7 @@ import _ from 'lodash';
import {
ApplicationEvent,
StorageValueModes,
EncryptionIntents,
EncryptionIntent,
ApplicationService,
} from 'snjs';
import { AppStateEvent } from '@/services/state';
@@ -123,7 +123,7 @@ export class ThemeManager extends ApplicationService {
const payload = theme.payloadRepresentation();
const processedPayload = await this.application.protocolService.payloadByEncryptingPayload({
payload: payload,
intent: EncryptionIntents.LocalStorageDecrypted
intent: EncryptionIntent.LocalStorageDecrypted
});
return processedPayload;
}));