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
|
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…
Add table
Add a link
Reference in a new issue