chore: Follow up message bubbles

pull/1457/head
krille-chan 9 months ago
parent 693a93c4fb
commit 769baa3d9f
No known key found for this signature in database

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

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

Loading…
Cancel
Save