mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-11 11:13:54 +00:00
chore: Follow up design
This commit is contained in:
parent
554f951a30
commit
e9a9075139
2 changed files with 8 additions and 4 deletions
|
@ -386,10 +386,14 @@ 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(4.0),
|
padding: const EdgeInsets.only(top: 4.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
event.originServerTs.localizedTime(context),
|
event.originServerTs.localizedTime(context),
|
||||||
style: TextStyle(fontSize: 13 * AppConfig.fontSizeFactor),
|
style: TextStyle(
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
fontSize: 12 * AppConfig.fontSizeFactor,
|
||||||
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -31,8 +31,8 @@ class StateMessage extends StatelessWidget {
|
||||||
),
|
),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 13 * AppConfig.fontSizeFactor,
|
fontSize: 12 * AppConfig.fontSizeFactor,
|
||||||
color: Theme.of(context).colorScheme.onSecondaryContainer,
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
decoration:
|
decoration:
|
||||||
event.redacted ? TextDecoration.lineThrough : null,
|
event.redacted ? TextDecoration.lineThrough : null,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue