Fix Id function is missing on startup. Fixes #227
This commit is contained in:
parent
2dbddca36a
commit
3e35fc9df8
1 changed files with 5 additions and 5 deletions
4
index.js
4
index.js
|
@ -131,9 +131,9 @@ const ContainerService = {
|
||||||
|
|
||||||
// Maybe rename the Banking container.
|
// Maybe rename the Banking container.
|
||||||
if (prefService.get("privacy.userContext.enabled") !== true) {
|
if (prefService.get("privacy.userContext.enabled") !== true) {
|
||||||
const identity = ContextualIdentityService.getIdentityFromId(3);
|
const identity = ContextualIdentityProxy.getIdentityFromId(3);
|
||||||
if (identity && identity.l10nID === "userContextBanking.label") {
|
if (identity && identity.l10nID === "userContextBanking.label") {
|
||||||
ContextualIdentityService.update(identity.userContextId,
|
ContextualIdentityProxy.update(identity.userContextId,
|
||||||
"Finance",
|
"Finance",
|
||||||
identity.icon,
|
identity.icon,
|
||||||
identity.color);
|
identity.color);
|
||||||
|
|
Loading…
Add table
Reference in a new issue