refactor: Adjust state event design

This commit is contained in:
Christian Kußowski 2025-12-06 10:37:07 +01:00
commit fc052c84ac
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
5 changed files with 8 additions and 72 deletions

View file

@ -52,10 +52,7 @@ class StateMessage extends StatelessWidget {
),
),
if (onExpand != null) ...[
const TextSpan(
text: ' + ',
style: TextStyle(fontWeight: FontWeight.bold),
),
const TextSpan(text: '\n'),
TextSpan(
style: TextStyle(
color: theme.colorScheme.primary,
@ -70,7 +67,7 @@ class StateMessage extends StatelessWidget {
),
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 12 * AppSettings.fontSizeFactor.value,
fontSize: 11 * AppSettings.fontSizeFactor.value,
decoration: event.redacted
? TextDecoration.lineThrough
: null,