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,
|
clipBehavior: Clip.antiAlias,
|
||||||
child: BubbleBackground(
|
child: BubbleBackground(
|
||||||
colors: colors,
|
colors: colors,
|
||||||
ignore:
|
ignore: noBubble ||
|
||||||
noBubble || !ownMessage,
|
!ownMessage ||
|
||||||
|
MediaQuery.of(context)
|
||||||
|
.highContrast,
|
||||||
scrollController:
|
scrollController:
|
||||||
scrollController,
|
scrollController,
|
||||||
child: Container(
|
child: Container(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue