refactor: Adjust state event design
This commit is contained in:
parent
4e2b185f5d
commit
fc052c84ac
5 changed files with 8 additions and 72 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue