chore: Follow up message bubbles
This commit is contained in:
parent
693a93c4fb
commit
769baa3d9f
2 changed files with 10 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue