Skip to content

Commit

Permalink
fix(CycleImport): crash on app startup
Browse files Browse the repository at this point in the history
  • Loading branch information
iGroza committed Oct 29, 2024
1 parent 4930dea commit 5e88dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/remote-config/remote-config.service.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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() {
Expand Down

0 comments on commit 5e88dec

Please sign in to comment.