opt gesture

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-29 16:14:34 +08:00
parent 19f7720fb2
commit be03909fdc
18 changed files with 43 additions and 61 deletions

View File

@@ -223,12 +223,10 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: controller.onLogin,
onLongPress: Utils.isMobile
? () {
Feedback.forLongPress(context);
controller.onLogin(true);
}
: null,
onLongPress: () {
Feedback.forLongPress(context);
controller.onLogin(true);
},
onSecondaryTap: Utils.isMobile
? null
: () => controller.onLogin(true),