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
10
index.js
10
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue