chore: Follow up message bubbles

This commit is contained in:
krille-chan 2024-11-03 12:00:31 +01:00
parent 693a93c4fb
commit 769baa3d9f
No known key found for this signature in database
2 changed files with 10 additions and 4 deletions

View file

@ -319,9 +319,12 @@ class Message extends StatelessWidget {
gradient: ownMessage && !noBubble
? LinearGradient(
colors: [
theme.colorScheme.primary,
theme.colorScheme
.onPrimaryFixedVariant,
theme.brightness ==
Brightness.light
? theme.colorScheme
.onPrimaryFixedVariant
: theme.colorScheme
.primaryFixed,
],
begin: Alignment.centerLeft,
end: Alignment.bottomRight,

View file

@ -216,7 +216,10 @@ class SettingsStyleView extends StatelessWidget {
gradient: LinearGradient(
colors: [
theme.colorScheme.primary,
theme.colorScheme.onPrimaryFixedVariant,
theme.brightness == Brightness.light
? theme.colorScheme
.onPrimaryFixedVariant
: theme.colorScheme.primaryFixed,
],
begin: Alignment.centerLeft,
end: Alignment.bottomRight,