mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: show pubTs
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -97,10 +97,8 @@ class AuthorPanel extends StatelessWidget {
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
Text(item.isForwarded == true
|
||||
? Utils.dateFormat(item.modules.moduleAuthor.pubTs)
|
||||
: item.modules.moduleAuthor.pubTime),
|
||||
if (item.modules.moduleAuthor.pubTime != '' &&
|
||||
Text(Utils.dateFormat(item.modules.moduleAuthor.pubTs)),
|
||||
if (item.modules.moduleAuthor.pubTs != '' &&
|
||||
item.modules.moduleAuthor.pubAction != '')
|
||||
const Text(' '),
|
||||
Text(item.modules.moduleAuthor.pubAction),
|
||||
|
||||
@@ -75,21 +75,21 @@ class AuthorPanelGrpc extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
DefaultTextStyle.merge(
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.outline,
|
||||
fontSize: Theme.of(context).textTheme.labelSmall!.fontSize,
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
// Text(item.modules.first.moduleAuthor.pubTime),
|
||||
// if (item.modules.first.moduleAuthor.pubTime != '' &&
|
||||
// item.modules.first.moduleAuthor.pubAction != '')
|
||||
// const Text(' '),
|
||||
// Text(item.modules.first.moduleAuthor.pubAction),
|
||||
],
|
||||
),
|
||||
)
|
||||
// DefaultTextStyle.merge(
|
||||
// style: TextStyle(
|
||||
// color: Theme.of(context).colorScheme.outline,
|
||||
// fontSize: Theme.of(context).textTheme.labelSmall!.fontSize,
|
||||
// ),
|
||||
// child: Row(
|
||||
// children: [
|
||||
// Text(item.modules.first.moduleAuthor.pubTime),
|
||||
// if (item.modules.first.moduleAuthor.pubTime != '' &&
|
||||
// item.modules.first.moduleAuthor.pubAction != '')
|
||||
// const Text(' '),
|
||||
// Text(item.modules.first.moduleAuthor.pubAction),
|
||||
// ],
|
||||
// ),
|
||||
// )
|
||||
],
|
||||
),
|
||||
const Spacer(),
|
||||
|
||||
@@ -152,9 +152,7 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
|
||||
),
|
||||
const SizedBox(width: 6),
|
||||
Text(
|
||||
item.modules.moduleAuthor.pubTs != null
|
||||
? Utils.dateFormat(item.modules.moduleAuthor.pubTs)
|
||||
: item.modules.moduleAuthor.pubTime,
|
||||
Utils.dateFormat(item.modules.moduleAuthor.pubTs),
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.outline,
|
||||
fontSize: Theme.of(context).textTheme.labelSmall!.fontSize),
|
||||
|
||||
Reference in New Issue
Block a user