Bug 1901617 - Create onboarding checklist r=mviar,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221538
This commit is contained in:
@@ -550,6 +550,10 @@ function decodeAttributionValue(value) {
|
||||
return decodedValue;
|
||||
}
|
||||
|
||||
async function getPinStatus() {
|
||||
return await ShellService.doesAppNeedPin();
|
||||
}
|
||||
|
||||
const TargetingGetters = {
|
||||
get locale() {
|
||||
return Services.locale.appLocaleAsBCP47;
|
||||
@@ -666,6 +670,9 @@ const TargetingGetters = {
|
||||
get isDefaultBrowser() {
|
||||
return QueryCache.getters.isDefaultBrowser.get().catch(() => null);
|
||||
},
|
||||
get isDefaultBrowserUncached() {
|
||||
return ShellService.isDefaultBrowser();
|
||||
},
|
||||
get devToolsOpenedCount() {
|
||||
return lazy.devtoolsSelfXSSCount;
|
||||
},
|
||||
@@ -873,6 +880,10 @@ const TargetingGetters = {
|
||||
})();
|
||||
},
|
||||
|
||||
get doesAppNeedPinUncached() {
|
||||
return getPinStatus();
|
||||
},
|
||||
|
||||
get doesAppNeedPrivatePin() {
|
||||
return QueryCache.getters.doesAppNeedPrivatePin.get();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user