mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: reply item
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -297,7 +297,6 @@ class _SavePanelState extends State<SavePanel> {
|
|||||||
replyLevel: '',
|
replyLevel: '',
|
||||||
needDivider: false,
|
needDivider: false,
|
||||||
upMid: widget.upMid,
|
upMid: widget.upMid,
|
||||||
isSave: true,
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
else if (_item is DynamicItemModel)
|
else if (_item is DynamicItemModel)
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ class ReplyItemGrpc extends StatelessWidget {
|
|||||||
this.callback,
|
this.callback,
|
||||||
this.onCheckReply,
|
this.onCheckReply,
|
||||||
this.onToggleTop,
|
this.onToggleTop,
|
||||||
this.isSave = false,
|
|
||||||
});
|
});
|
||||||
final ReplyInfo replyItem;
|
final ReplyInfo replyItem;
|
||||||
final String replyLevel;
|
final String replyLevel;
|
||||||
@@ -59,7 +58,6 @@ class ReplyItemGrpc extends StatelessWidget {
|
|||||||
final Function(List<String>, int)? callback;
|
final Function(List<String>, int)? callback;
|
||||||
final ValueChanged<ReplyInfo>? onCheckReply;
|
final ValueChanged<ReplyInfo>? onCheckReply;
|
||||||
final Function(bool isUpTop, int rpid)? onToggleTop;
|
final Function(bool isUpTop, int rpid)? onToggleTop;
|
||||||
final bool isSave;
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
@@ -322,7 +320,7 @@ class ReplyItemGrpc extends StatelessWidget {
|
|||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(
|
Text(
|
||||||
isSave
|
replyLevel == ''
|
||||||
? DateTime.fromMillisecondsSinceEpoch(
|
? DateTime.fromMillisecondsSinceEpoch(
|
||||||
replyItem.ctime.toInt() * 1000)
|
replyItem.ctime.toInt() * 1000)
|
||||||
.toString()
|
.toString()
|
||||||
|
|||||||
Reference in New Issue
Block a user