mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-07 20:49:28 +01:00
fix: Bubble colors
This commit is contained in:
parent
724586a73d
commit
48810a97c4
@ -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);
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user