refactor: ignore bubble gradient when using system high contrast mode
This commit is contained in:
parent
5a7a76ff3a
commit
36bcfd8f9b
1 changed files with 4 additions and 2 deletions
|
|
@ -461,8 +461,10 @@ class Message extends StatelessWidget {
|
|||
clipBehavior: Clip.antiAlias,
|
||||
child: BubbleBackground(
|
||||
colors: colors,
|
||||
ignore:
|
||||
noBubble || !ownMessage,
|
||||
ignore: noBubble ||
|
||||
!ownMessage ||
|
||||
MediaQuery.of(context)
|
||||
.highContrast,
|
||||
scrollController:
|
||||
scrollController,
|
||||
child: Container(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue