diff --git a/src/services/remote-config/remote-config.service.ts b/src/services/remote-config/remote-config.service.ts index 8a4087b84..77ade9050 100644 --- a/src/services/remote-config/remote-config.service.ts +++ b/src/services/remote-config/remote-config.service.ts @@ -1,6 +1,6 @@ -import {app} from '@app/contexts'; import {getAppInfo} from '@app/helpers/get-app-info'; import {Initializable} from '@app/helpers/initializable'; +import {VariablesBool} from '@app/models/variables-bool'; import {VariablesString} from '@app/models/variables-string'; import {Backend} from '@app/services/backend'; import {RemoteConfigTypes} from '@app/services/remote-config'; @@ -14,7 +14,7 @@ const CONFIG_REINIT_TIMEOUT = 5 * 60 * 1000; // 5 minutes const logger = Logger.create('RemoteConfig', { emodjiPrefix: '🔴', stringifyJson: true, - enabled: __DEV__ || app.isTesterMode || app.isDeveloper, + enabled: VariablesBool.get('isDeveloper'), }); function getCachedConfig() {