Add #Pangea comments

This commit is contained in:
Kelrap 2024-06-14 12:11:16 -04:00
parent 36dc6ea252
commit 3844a3db37

View file

@ -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;