[Debug] Less default logs

This commit is contained in:
Alexander Zinchuk 2021-12-24 01:26:10 +01:00
parent f6cd826e7f
commit 0c3c86ab55

View File

@ -1,4 +1,4 @@
import { DEBUG } from '../config';
import { DEBUG, DEBUG_MORE } from '../config';
import { getDispatch } from '../lib/teact/teactn';
import { IS_ANDROID, IS_IOS, IS_SERVICE_WORKER_SUPPORTED } from './environment';
import { notifyClientReady, playNotifySoundDebounced } from './notifications';
@ -10,7 +10,7 @@ type WorkerAction = {
function handleWorkerMessage(e: MessageEvent) {
const action: WorkerAction = e.data;
if (DEBUG) {
if (DEBUG_MORE) {
// eslint-disable-next-line no-console
console.log('[SW] Message from worker', action);
}