added restore on previously synced browser

This commit is contained in:
Kendall Werts
2019-12-18 22:06:08 -06:00
parent 88e32fc72f
commit 27225df281
2 changed files with 69 additions and 70 deletions
+3 -2
View File
@@ -70,10 +70,11 @@ const identityState = {
async updateUUID(cookieStoreId, uuid) {
const containerState = await this.storageArea.get(cookieStoreId);
containerState.macAddonUUID = uuid;
return this.storageArea.set(cookieStoreId, containerState);
await this.storageArea.set(cookieStoreId, containerState);
return;
},
async addUUID(cookieStoreId) {
return this.updateUUID(cookieStoreId, uuidv4());
return await this.updateUUID(cookieStoreId, uuidv4());
},
async lookupMACaddonUUID(cookieStoreId) {