Remove message opacity
This commit is contained in:
parent
7700cd5867
commit
b226454e65
1 changed files with 65 additions and 69 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue