mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-28 06:15:51 +08:00
opt gesture
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user