refactor: ignore bubble gradient when using system high contrast mode

This commit is contained in:
Christian Kußowski 2025-06-25 10:13:08 +02:00
parent 5a7a76ff3a
commit 36bcfd8f9b
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -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(