From 91b801296437e243a9746d36ddb69887efc86a07 Mon Sep 17 00:00:00 2001 From: Leandro Borges Ferreira Date: Wed, 8 Feb 2023 20:54:50 +0100 Subject: [PATCH] Removing prints from reactions_align --- .../reactions/reactions_align.dart | 20 ++++--------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/packages/stream_chat_flutter/lib/src/message_widget/reactions/reactions_align.dart b/packages/stream_chat_flutter/lib/src/message_widget/reactions/reactions_align.dart index 7ea4d0da..f5d0cce5 100644 --- a/packages/stream_chat_flutter/lib/src/message_widget/reactions/reactions_align.dart +++ b/packages/stream_chat_flutter/lib/src/message_widget/reactions/reactions_align.dart @@ -53,11 +53,6 @@ double _portraitAlign( num divFactor, bool hasAttachments, ) { - print('INFO - max width: $maxWidth. ' - 'maxHeight: $maxHeight ' - 'shiftFactor: $shiftFactor ' - 'divFactor: $divFactor'); - var result = 0.0; // This is an empiric value. This number tries to approximate all the @@ -106,16 +101,11 @@ double _landScapeAlign( ) { var result = 0.0; - print('INFO - max width: $maxWidth. ' - 'maxHeight: $maxHeight ' - 'shiftFactor: $shiftFactor ' - 'divFactor: $divFactor'); - /* - This is an empiric value. This number tries to approximate all the - offset necessary for the position of reaction look the best way - possible. - */ + This is an empiric value. This number tries to approximate all the + offset necessary for the position of reaction look the best way + possible. + */ const constant = 3000; if (user?.id == message.user?.id) { @@ -133,8 +123,6 @@ double _landScapeAlign( } } - print('INFO - result landscape: $result'); - // Ensure reactions don't get pushed past the edge of the screen. // // This happens if divFactor is really big. When this happens, we can simply