From e1c1e053b364b8d654e6ba652d5199be125d4904 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Wed, 2 Dec 2020 15:42:16 +0100 Subject: [PATCH] remove comment --- lib/src/message_widget.dart | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index a510da28..deeaa921 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -322,36 +322,6 @@ class _MessageWidgetState extends State { BorderRadius.zero, ), color: _getBackgroundColor(), - // decoration: widget.message.attachments - // .where((element) => - // element.type == 'file') - // .isEmpty - // ? null - // : BoxDecoration( - // borderRadius: - // BorderRadius.only( - // topLeft: - // Radius.circular(8.0), - // topRight: - // Radius.circular(8.0), - // bottomRight: - // Radius.circular(8.0), - // ), - // border: hasFiles - // ? Border.fromBorderSide( - // BorderSide( - // color: - // Color(0xFFE6E6E6), - // )) - // : null, - // color: hasFiles - // ? (user.id == - // widget.message - // .user.id - // ? Color(0xFFE6E6E6) - // : Colors.white) - // : Colors.transparent, - // ), child: Padding( padding: EdgeInsets.all( hasFiles ? 2.0 : 0.0),