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(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Text(item.isForwarded == true
|
Text(Utils.dateFormat(item.modules.moduleAuthor.pubTs)),
|
||||||
? Utils.dateFormat(item.modules.moduleAuthor.pubTs)
|
if (item.modules.moduleAuthor.pubTs != '' &&
|
||||||
: item.modules.moduleAuthor.pubTime),
|
|
||||||
if (item.modules.moduleAuthor.pubTime != '' &&
|
|
||||||
item.modules.moduleAuthor.pubAction != '')
|
item.modules.moduleAuthor.pubAction != '')
|
||||||
const Text(' '),
|
const Text(' '),
|
||||||
Text(item.modules.moduleAuthor.pubAction),
|
Text(item.modules.moduleAuthor.pubAction),
|
||||||
|
|||||||
@@ -75,21 +75,21 @@ class AuthorPanelGrpc extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
DefaultTextStyle.merge(
|
// DefaultTextStyle.merge(
|
||||||
style: TextStyle(
|
// style: TextStyle(
|
||||||
color: Theme.of(context).colorScheme.outline,
|
// color: Theme.of(context).colorScheme.outline,
|
||||||
fontSize: Theme.of(context).textTheme.labelSmall!.fontSize,
|
// fontSize: Theme.of(context).textTheme.labelSmall!.fontSize,
|
||||||
),
|
// ),
|
||||||
child: Row(
|
// child: Row(
|
||||||
children: [
|
// children: [
|
||||||
// Text(item.modules.first.moduleAuthor.pubTime),
|
// Text(item.modules.first.moduleAuthor.pubTime),
|
||||||
// if (item.modules.first.moduleAuthor.pubTime != '' &&
|
// if (item.modules.first.moduleAuthor.pubTime != '' &&
|
||||||
// item.modules.first.moduleAuthor.pubAction != '')
|
// item.modules.first.moduleAuthor.pubAction != '')
|
||||||
// const Text(' '),
|
// const Text(' '),
|
||||||
// Text(item.modules.first.moduleAuthor.pubAction),
|
// Text(item.modules.first.moduleAuthor.pubAction),
|
||||||
],
|
// ],
|
||||||
),
|
// ),
|
||||||
)
|
// )
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
|
|||||||
@@ -152,9 +152,7 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
|
|||||||
),
|
),
|
||||||
const SizedBox(width: 6),
|
const SizedBox(width: 6),
|
||||||
Text(
|
Text(
|
||||||
item.modules.moduleAuthor.pubTs != null
|
Utils.dateFormat(item.modules.moduleAuthor.pubTs),
|
||||||
? Utils.dateFormat(item.modules.moduleAuthor.pubTs)
|
|
||||||
: item.modules.moduleAuthor.pubTime,
|
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Theme.of(context).colorScheme.outline,
|
color: Theme.of(context).colorScheme.outline,
|
||||||
fontSize: Theme.of(context).textTheme.labelSmall!.fontSize),
|
fontSize: Theme.of(context).textTheme.labelSmall!.fontSize),
|
||||||
|
|||||||
Reference in New Issue
Block a user