fix(ui): remove dead code
This commit is contained in:
@@ -48,7 +48,6 @@ class GiphyAttachment extends AttachmentWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildSendingAttachment(BuildContext context, String imageUrl) {
|
Widget _buildSendingAttachment(BuildContext context, String imageUrl) {
|
||||||
print('sending attachment GIPHY $imageUrl');
|
|
||||||
final streamChannel = StreamChannel.of(context);
|
final streamChannel = StreamChannel.of(context);
|
||||||
return Column(
|
return Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
|||||||
@@ -604,9 +604,6 @@ class _MessageWidgetState extends State<MessageWidget>
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
super.build(context);
|
super.build(context);
|
||||||
if (widget.message.isEphemeral) {
|
|
||||||
print('EPHEMERAL');
|
|
||||||
}
|
|
||||||
final avatarWidth =
|
final avatarWidth =
|
||||||
widget.messageTheme.avatarTheme?.constraints.maxWidth ?? 40;
|
widget.messageTheme.avatarTheme?.constraints.maxWidth ?? 40;
|
||||||
final bottomRowPadding =
|
final bottomRowPadding =
|
||||||
@@ -1157,9 +1154,6 @@ class _MessageWidgetState extends State<MessageWidget>
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _parseAttachments() {
|
Widget _parseAttachments() {
|
||||||
if (widget.message.isEphemeral) {
|
|
||||||
print('EPHEMERAL');
|
|
||||||
}
|
|
||||||
final attachmentGroups = <String, List<Attachment>>{};
|
final attachmentGroups = <String, List<Attachment>>{};
|
||||||
|
|
||||||
widget.message.attachments
|
widget.message.attachments
|
||||||
|
|||||||
Reference in New Issue
Block a user