chore: Follow up wallpaper configs

This commit is contained in:
krille-chan 2024-11-01 11:59:08 +01:00
commit 66ea73ea18
No known key found for this signature in database
3 changed files with 81 additions and 33 deletions

View file

@ -265,6 +265,23 @@ class Message extends StatelessWidget {
? displayname.color
: displayname
.lightColorText),
shadows:
avatarPresenceBackgroundColor ==
null
? null
: [
Shadow(
offset:
const Offset(
0.0,
0.0,
),
blurRadius: 5,
color: theme
.colorScheme
.surface,
),
],
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
@ -443,12 +460,21 @@ class Message extends StatelessWidget {
child: Center(
child: Padding(
padding: const EdgeInsets.only(top: 4.0),
child: Text(
event.originServerTs.localizedTime(context),
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 12 * AppConfig.fontSizeFactor,
color: theme.colorScheme.secondary,
child: Material(
borderRadius:
BorderRadius.circular(AppConfig.borderRadius * 2),
color: theme.colorScheme.surface.withAlpha(128),
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 8.0,
vertical: 2.0,
),
child: Text(
event.originServerTs.localizedTime(context),
style: TextStyle(
fontSize: 12 * AppConfig.fontSizeFactor,
),
),
),
),
),