mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
audio notification
Closes #1635 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1171,7 +1171,11 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
|
||||
LongPressGestureRecognizer? _longPressRecognizer;
|
||||
LongPressGestureRecognizer get longPressRecognizer => _longPressRecognizer ??=
|
||||
LongPressGestureRecognizer(duration: const Duration(milliseconds: 300))
|
||||
LongPressGestureRecognizer(
|
||||
duration: plPlayerController.enableTapDm
|
||||
? const Duration(milliseconds: 300)
|
||||
: null,
|
||||
)
|
||||
..onLongPressStart = ((_) =>
|
||||
plPlayerController.setLongPressStatus(true))
|
||||
..onLongPressEnd = (_) => plPlayerController.setLongPressStatus(false);
|
||||
@@ -1318,7 +1322,6 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
|
||||
if (!isLive)
|
||||
Positioned.fill(
|
||||
top: 4,
|
||||
child: IgnorePointer(
|
||||
ignoring: !plPlayerController.enableDragSubtitle,
|
||||
child: Obx(
|
||||
|
||||
Reference in New Issue
Block a user