Remove message opacity

This commit is contained in:
Christian Pauly 2020-03-13 20:10:57 +01:00
parent c7371acb13
commit 64b8441649

View File

@ -62,9 +62,6 @@ class Message extends StatelessWidget {
List<Widget> rowChildren = [ List<Widget> rowChildren = [
Expanded( Expanded(
child: AnimatedOpacity(
duration: Duration(milliseconds: 500),
opacity: (event.status == 0 || event.redacted) ? 0.5 : 1,
child: Bubble( child: Bubble(
elevation: 0, elevation: 0,
radius: Radius.circular(8), radius: Radius.circular(8),
@ -141,7 +138,6 @@ class Message extends StatelessWidget {
), ),
), ),
), ),
),
]; ];
final Widget avatarOrSizedBox = sameSender final Widget avatarOrSizedBox = sameSender
? SizedBox(width: 40) ? SizedBox(width: 40)