From 3e35fc9df89cad530a362b693003838db06d8c9e Mon Sep 17 00:00:00 2001 From: Jonathan Kingston Date: Tue, 21 Feb 2017 21:45:40 +0000 Subject: [PATCH] Fix Id function is missing on startup. Fixes #227 --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 87442e7..5c6c38a 100644 --- a/index.js +++ b/index.js @@ -131,12 +131,12 @@ const ContainerService = { // Maybe rename the Banking container. if (prefService.get("privacy.userContext.enabled") !== true) { - const identity = ContextualIdentityService.getIdentityFromId(3); + const identity = ContextualIdentityProxy.getIdentityFromId(3); if (identity && identity.l10nID === "userContextBanking.label") { - ContextualIdentityService.update(identity.userContextId, - "Finance", - identity.icon, - identity.color); + ContextualIdentityProxy.update(identity.userContextId, + "Finance", + identity.icon, + identity.color); } } }