chore: Slightly update chat colors

pull/1425/head
Krille 4 months ago
parent 728854569c
commit fcc43e3328
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -308,10 +308,7 @@ class ChatView extends StatelessWidget {
alignment: Alignment.center,
child: Material(
clipBehavior: Clip.hardEdge,
color: theme
.colorScheme
// ignore: deprecated_member_use
.surfaceVariant,
color: theme.colorScheme.surfaceContainerHigh,
borderRadius: const BorderRadius.all(
Radius.circular(24),
),

@ -83,8 +83,8 @@ class Message extends StatelessWidget {
final client = Matrix.of(context).client;
final ownMessage = event.senderId == client.userID;
final alignment = ownMessage ? Alignment.topRight : Alignment.topLeft;
// ignore: deprecated_member_use
var color = theme.colorScheme.surfaceVariant;
var color = theme.colorScheme.surfaceContainerHigh;
final displayTime = event.type == EventTypes.RoomCreate ||
nextEvent == null ||
!event.originServerTs.sameEnvironment(nextEvent!.originServerTs);

@ -81,9 +81,7 @@ class TypingIndicators extends StatelessWidget {
),
const SizedBox(width: 8),
Material(
color:
// ignore: deprecated_member_use
theme.colorScheme.surfaceVariant,
color: theme.colorScheme.surfaceContainerHigh,
borderRadius: const BorderRadius.all(
Radius.circular(AppConfig.borderRadius),
),

@ -69,9 +69,7 @@ class UserBottomSheetView extends StatelessWidget {
Padding(
padding: const EdgeInsets.all(12.0),
child: Material(
color:
// ignore: deprecated_member_use
theme.colorScheme.surfaceVariant,
color: theme.colorScheme.surfaceContainerHigh,
borderRadius:
BorderRadius.circular(AppConfig.borderRadius),
child: ListTile(

Loading…
Cancel
Save