Remove message opacity

This commit is contained in:
Christian Pauly 2020-03-13 20:10:57 +01:00
parent c7371acb13
commit 64b8441649
1 changed files with 65 additions and 69 deletions

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)