mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: bangumi
This commit is contained in:
@@ -35,8 +35,7 @@ class ActionItem extends StatefulWidget {
|
||||
State<ActionItem> createState() => ActionItemState();
|
||||
}
|
||||
|
||||
class ActionItemState extends State<ActionItem>
|
||||
with SingleTickerProviderStateMixin {
|
||||
class ActionItemState extends State<ActionItem> with TickerProviderStateMixin {
|
||||
AnimationController? controller;
|
||||
Animation<double>? _animation;
|
||||
|
||||
@@ -58,7 +57,7 @@ class ActionItemState extends State<ActionItem>
|
||||
controller?.reverse();
|
||||
widget.callBack!(false);
|
||||
}
|
||||
if (duration <= 500 && !isCancel) {
|
||||
if (duration <= 50 && !isCancel) {
|
||||
feedBack();
|
||||
widget.onTap!();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user