Skip to content

Commit

Permalink
feat(card): Show notice elapsed duration in notice card
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Feb 3, 2024
1 parent 0256961 commit f3d3933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
* 帖子右上角菜单 -> 倒序浏览/正序浏览。
- 新增支持从好友邀请参与话题的消息跳转到相应帖子。
- 新增支持筛选帖子。
- 在消息提醒卡片上显示是多久以前的消息。~~终于分得清哪个是哪个了~~
- 缓存首页轮播图。

### Fixed
Expand Down
1 change: 1 addition & 0 deletions lib/widgets/card/notice_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ class NoticeCard extends StatelessWidget {
: () async => context.dispatchAsUrl(notice.userSpaceUrl!),
child: Row(children: [SingleLineText(notice.username ?? '')]),
),
trailing: Text(notice.noticeTimeString),
subtitle: SingleLineText(notice.noticeTime?.yyyyMMDD() ?? ''),
),
sizedBoxW5H5,
Expand Down

0 comments on commit f3d3933

Please sign in to comment.