mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
[Debug] Less default logs
This commit is contained in:
parent
f6cd826e7f
commit
0c3c86ab55
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user