diff --git a/lib/pangea/widgets/chat/message_selection_overlay.dart b/lib/pangea/widgets/chat/message_selection_overlay.dart index 6c2e3341c..edd96aedf 100644 --- a/lib/pangea/widgets/chat/message_selection_overlay.dart +++ b/lib/pangea/widgets/chat/message_selection_overlay.dart @@ -234,7 +234,6 @@ class MessageOverlayController extends State final bool hasHeaderOverflow = messageOffset!.dy < (AppConfig.toolbarMaxHeight + headerHeight); - debugPrint("has header overflow: $hasHeaderOverflow"); final bool hasFooterOverflow = footerHeight > currentBottomOffset; if (!hasHeaderOverflow && !hasFooterOverflow) return; @@ -258,9 +257,6 @@ class MessageOverlayController extends State final totalTopOffset = animationEndOffset + messageSize!.height + AppConfig.toolbarMaxHeight; final remainingSpace = screenHeight - totalTopOffset; - debugPrint( - "total top offset: $totalTopOffset, remaining space: $remainingSpace", - ); if (remainingSpace < headerHeight) { // the overlay could run over the header, so it needs to be shifted down animationEndOffset -= (headerHeight - remainingSpace); @@ -271,10 +267,6 @@ class MessageOverlayController extends State animationEndOffset = footerHeight; } - debugPrint( - "NIMATION END OFFSET: $animationEndOffset. Footer height: $footerHeight", - ); - if (animationEndOffset < footerHeight + toolbarButtonsHeight) { adjustedMessageHeight = screenHeight - AppConfig.toolbarMaxHeight -