mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
refa: whisper detail
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -46,9 +46,9 @@ class _ZanButtonGrpcState extends State<ZanButtonGrpc> {
|
||||
widget.replyItem.like =
|
||||
$fixnum.Int64(widget.replyItem.like.toInt() - 1);
|
||||
}
|
||||
widget.replyItem.replyControl.action = $fixnum.Int64(2);
|
||||
widget.replyItem.replyControl.action = $fixnum.Int64.TWO;
|
||||
} else {
|
||||
widget.replyItem.replyControl.action = $fixnum.Int64(0);
|
||||
widget.replyItem.replyControl.action = $fixnum.Int64.ZERO;
|
||||
}
|
||||
setState(() {});
|
||||
} else {
|
||||
@@ -76,11 +76,11 @@ class _ZanButtonGrpcState extends State<ZanButtonGrpc> {
|
||||
if (action == 1) {
|
||||
widget.replyItem.like =
|
||||
$fixnum.Int64(widget.replyItem.like.toInt() + 1);
|
||||
widget.replyItem.replyControl.action = $fixnum.Int64(1);
|
||||
widget.replyItem.replyControl.action = $fixnum.Int64.ONE;
|
||||
} else {
|
||||
widget.replyItem.like =
|
||||
$fixnum.Int64(widget.replyItem.like.toInt() - 1);
|
||||
widget.replyItem.replyControl.action = $fixnum.Int64(0);
|
||||
widget.replyItem.replyControl.action = $fixnum.Int64.ZERO;
|
||||
}
|
||||
setState(() {});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user