Add #Pangea comments
This commit is contained in:
parent
36dc6ea252
commit
3844a3db37
1 changed files with 2 additions and 0 deletions
|
|
@ -47,8 +47,10 @@ class OverlayMessage extends StatelessWidget {
|
|||
}
|
||||
|
||||
var color = Theme.of(context).colorScheme.surfaceVariant;
|
||||
// #Pangea
|
||||
final isLight = Theme.of(context).brightness == Brightness.light;
|
||||
var lightness = isLight ? .05 : .85;
|
||||
// Pangea#
|
||||
final textColor = ownMessage
|
||||
? Theme.of(context).colorScheme.onPrimary
|
||||
: Theme.of(context).colorScheme.onBackground;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue