fix: Bubble colors

This commit is contained in:
Krille Fear 2021-11-15 13:23:47 +01:00
parent 724586a73d
commit 48810a97c4
2 changed files with 2 additions and 4 deletions

View File

@ -59,9 +59,7 @@ class Message extends StatelessWidget {
final client = Matrix.of(context).client;
final ownMessage = event.senderId == client.userID;
final alignment = ownMessage ? Alignment.topRight : Alignment.topLeft;
var color = Theme.of(context).brightness == Brightness.light
? Colors.white
: Colors.grey.shade900;
var color = Theme.of(context).appBarTheme.backgroundColor;
final displayTime = event.type == EventTypes.RoomCreate ||
nextEvent == null ||
!event.originServerTs.sameEnvironment(nextEvent.originServerTs);

View File

@ -70,7 +70,7 @@ class TypingIndicators extends StatelessWidget {
Padding(
padding: const EdgeInsets.only(top: topPadding),
child: Material(
color: Theme.of(context).backgroundColor,
color: Theme.of(context).appBarTheme.backgroundColor,
elevation: 6,
shadowColor:
Theme.of(context).secondaryHeaderColor.withAlpha(100),