chore: Minor design adjustments

This commit is contained in:
Krille 2023-12-29 09:37:54 +01:00
parent f8d4b1f3ae
commit a349a0804a
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 3 additions and 5 deletions

View file

@ -369,10 +369,10 @@ class Message extends StatelessWidget {
BorderRadius.circular(AppConfig.borderRadius / 2),
clipBehavior: Clip.antiAlias,
child: Padding(
padding: const EdgeInsets.all(6.0),
padding: const EdgeInsets.all(4.0),
child: Text(
event.originServerTs.localizedTime(context),
style: TextStyle(fontSize: 14 * AppConfig.fontSizeFactor),
style: TextStyle(fontSize: 13 * AppConfig.fontSizeFactor),
),
),
),

View file

@ -56,9 +56,7 @@ class ReplyContent extends StatelessWidget {
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontWeight: FontWeight.bold,
color: ownMessage
? Theme.of(context).colorScheme.onPrimaryContainer
: Theme.of(context).colorScheme.onBackground,
color: Theme.of(context).colorScheme.primary,
fontSize: fontSize,
),
);