chore: Slightly update chat colors
This commit is contained in:
parent
728854569c
commit
fcc43e3328
4 changed files with 5 additions and 12 deletions
|
|
@ -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…
Add table
Reference in a new issue