Skip to content

Commit

Permalink
reveret(card): Remove text and icon color in forum card
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Sep 6, 2024
1 parent db51592 commit 8b7157f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions lib/widgets/card/forum_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -153,19 +153,17 @@ final class _ForumCardState extends State<ForumCard> with LoggerMixin {
),
];

final fixedColor = Theme.of(context).colorScheme.secondaryFixed;
final forumInfoWidgets = forumInfoList
.map(
(e) => Expanded(
child: Row(
children: [
Icon(e.$1, size: smallIconSize, color: fixedColor),
Icon(e.$1, size: smallIconSize),
sizedBoxW4H4,
Flexible(
child: Text(
'${e.$2}',
style:
TextStyle(fontSize: smallTextSize, color: fixedColor),
style: const TextStyle(fontSize: smallTextSize),
maxLines: 1,
overflow: TextOverflow.clip,
),
Expand Down Expand Up @@ -201,9 +199,7 @@ final class _ForumCardState extends State<ForumCard> with LoggerMixin {
),
title: Text(
widget.forum.name,
style: Theme.of(context).textTheme.titleMedium?.copyWith(
color: Theme.of(context).colorScheme.primary,
),
style: Theme.of(context).textTheme.titleMedium,
maxLines: 2,
),
subtitle: widget.forum.latestThreadTime != null
Expand Down

0 comments on commit 8b7157f

Please sign in to comment.