mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +08:00
opt gesture
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -48,7 +48,7 @@ class _UpPanelState extends State<UpPanel> {
|
||||
onTap: () => setState(() {
|
||||
controller.showLiveUp = !controller.showLiveUp;
|
||||
}),
|
||||
onLongPress: Utils.isMobile ? toFollowPage : null,
|
||||
onLongPress: toFollowPage,
|
||||
onSecondaryTap: Utils.isMobile ? null : toFollowPage,
|
||||
child: Container(
|
||||
alignment: Alignment.center,
|
||||
@@ -161,7 +161,7 @@ class _UpPanelState extends State<UpPanel> {
|
||||
}
|
||||
},
|
||||
// onDoubleTap: isLive ? () => _onSelect(data) : null,
|
||||
onLongPress: !isAll && Utils.isMobile ? toMemberPage : null,
|
||||
onLongPress: !isAll ? toMemberPage : null,
|
||||
onSecondaryTap: !isAll && !Utils.isMobile ? toMemberPage : null,
|
||||
child: AnimatedOpacity(
|
||||
opacity: isCurrent ? 1 : 0.6,
|
||||
|
||||
Reference in New Issue
Block a user