File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import 'package:meta/meta.dart';
88import '../../codelessly_sdk.dart' ;
99import '../utils/debouncer.dart' ;
1010
11- const _kDisableStatReporting = false ;
12-
1311/// A class that tracks statistics of various operations in the SDK.
1412///
1513/// This tracker sends stats to Codelessly's server to help monitor usage and performance.
@@ -44,12 +42,7 @@ class StatTracker {
4442 /// with too many writes.
4543 final DeBouncer debouncer = DeBouncer (const Duration (seconds: 1 ));
4644
47- bool get disabled =>
48- ! enabled ||
49- _kDisableStatReporting ||
50- clientType == kCodelesslyEditor ||
51- projectId == null ||
52- serverUrl == null ;
45+ bool get disabled => ! enabled || projectId == null || serverUrl == null ;
5346
5447 @mustCallSuper
5548 void init ({
You can’t perform that action at this time.
0 commit comments