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), BorderRadius.circular(AppConfig.borderRadius / 2),
clipBehavior: Clip.antiAlias, clipBehavior: Clip.antiAlias,
child: Padding( child: Padding(
padding: const EdgeInsets.all(6.0), padding: const EdgeInsets.all(4.0),
child: Text( child: Text(
event.originServerTs.localizedTime(context), 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, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: ownMessage color: Theme.of(context).colorScheme.primary,
? Theme.of(context).colorScheme.onPrimaryContainer
: Theme.of(context).colorScheme.onBackground,
fontSize: fontSize, fontSize: fontSize,
), ),
); );