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