@@ -37,7 +37,7 @@ class EmotionAI {
3737 final Map <int , List <Map <String , dynamic >>> pointerPaths = {};
3838 final Map <int , DateTime > pointerDownTimes = {};
3939
40- // -- Threshold for "tap" - "scroll/drag"
40+ // Threshold "tap" - "scroll/drag"
4141 static const double kTouchSlop = 18.0 ;
4242
4343 // Delegate
@@ -107,8 +107,8 @@ class EmotionAI {
107107 // If the distance over the threshold, then will consider it as scroll
108108 if (distance > kTouchSlop) {
109109 hasScrolled[event.pointer] = true ;
110- Flagship .logger (Level .DEBUG ,
111- "Pointer ${event .pointer }: Scroll/Drag détecté (distance > $kTouchSlop )" );
110+ // Flagship.logger(Level.DEBUG,
111+ // "Pointer ${event.pointer}: Scroll/Drag détecté (distance > $kTouchSlop)");
112112 }
113113 }
114114 }
@@ -224,7 +224,7 @@ class EmotionAI {
224224 } catch (e) {
225225 Flagship .logger (Level .EXCEPTIONS , e.toString ());
226226 }
227- Flagship .logger (Level .INFO , "The emotionAI collection is stopped " );
227+ Flagship .logger (Level .INFO , "The emotionAI collection is Stopped " );
228228 }
229229
230230 sendEvent (Hit event, double deltaTime) {
@@ -234,8 +234,7 @@ class EmotionAI {
234234 sendEmotionEvent (event);
235235 } else if (deltaTime <= FSAIDuration120 ) {
236236 sendEmotionEvent (event);
237- Flagship .logger (
238- Level .INFO , "Send last emotion event and stop the collect" );
237+ Flagship .logger (Level .INFO , "Send last emotion event and STOP collect" );
239238 stopCollecting ();
240239 // Start get scoring from remote
241240 pollingScore = PollingScore (
@@ -249,7 +248,8 @@ class EmotionAI {
249248 this .currentScreenName = screenName;
250249 FSEmotionPageView eventPage = FSEmotionPageView (this .currentScreenName);
251250 this .sendEmotionEvent (eventPage).whenComplete (() {
252- Flagship .logger (Level .INFO , "Send pageview when app change screen" );
251+ Flagship .logger (
252+ Level .INFO , "Send pageview when Application change screen" );
253253 });
254254 }
255255
0 commit comments