Browse Source

[PM-26488][PM-26494] Disable chrome loader on MAS (#16699)

* Disable chrome loader on MAS

* Remove direct dependency on platform utils service in favour of the system

* Move check above brave condition

* Invert condition
pull/16725/merge
Oscar Hinton 2 months ago committed by GitHub
parent
commit
bcc050d4de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      libs/importer/src/services/import.service.ts

3
libs/importer/src/services/import.service.ts

@ -146,7 +146,8 @@ export class ImportService implements ImportServiceAbstraction {
map(([type, enabled]) => { map(([type, enabled]) => {
let loaders = availableLoaders(type, client); let loaders = availableLoaders(type, client);
let isUnsupported = false; // Mac App Store is currently disabled due to sandboxing.
let isUnsupported = this.system.environment.isMacAppStore();
if (enabled && type === "bravecsv") { if (enabled && type === "bravecsv") {
try { try {

Loading…
Cancel
Save