mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-30 23:29:47 +08:00
fixes (#1809)
* Revert "opt gesture"
This reverts commit bd97f9a500.
* revert: late init
* update [skip ci]
Signed-off-by: dom <githubaccount56556@proton.me>
---------
Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
777c3c2278
commit
7eaf05839a
@@ -1,6 +1,5 @@
|
||||
import 'package:PiliPlus/common/constants.dart';
|
||||
import 'package:PiliPlus/common/widgets/dialog/dialog.dart';
|
||||
import 'package:PiliPlus/common/widgets/gesture/immediate_tap_gesture_recognizer.dart';
|
||||
import 'package:PiliPlus/common/widgets/image/network_img_layer.dart';
|
||||
import 'package:PiliPlus/common/widgets/pendant_avatar.dart';
|
||||
import 'package:PiliPlus/common/widgets/scroll_physics.dart';
|
||||
@@ -36,6 +35,7 @@ import 'package:PiliPlus/utils/platform_utils.dart';
|
||||
import 'package:PiliPlus/utils/request_utils.dart';
|
||||
import 'package:PiliPlus/utils/utils.dart';
|
||||
import 'package:expandable/expandable.dart';
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
@@ -639,7 +639,7 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
|
||||
TextSpan(
|
||||
text: matchStr,
|
||||
style: TextStyle(color: theme.colorScheme.primary),
|
||||
recognizer: ImmediateTapGestureRecognizer()
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () async {
|
||||
if (videoDetailCtr
|
||||
.plPlayerController
|
||||
@@ -702,7 +702,7 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
|
||||
TextSpan(
|
||||
text: matchStr,
|
||||
style: TextStyle(color: theme.colorScheme.primary),
|
||||
recognizer: ImmediateTapGestureRecognizer()
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () => PiliScheme.videoPush(aid, null),
|
||||
),
|
||||
);
|
||||
@@ -716,7 +716,7 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
|
||||
TextSpan(
|
||||
text: matchStr,
|
||||
style: TextStyle(color: theme.colorScheme.primary),
|
||||
recognizer: ImmediateTapGestureRecognizer()
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () => PiliScheme.videoPush(null, matchStr),
|
||||
),
|
||||
);
|
||||
@@ -728,7 +728,7 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
|
||||
TextSpan(
|
||||
text: matchStr,
|
||||
style: TextStyle(color: theme.colorScheme.primary),
|
||||
recognizer: ImmediateTapGestureRecognizer()
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () {
|
||||
try {
|
||||
Get.find<VideoDetailController>(
|
||||
@@ -757,7 +757,7 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
|
||||
return TextSpan(
|
||||
text: '@${currentDesc.rawText}',
|
||||
style: TextStyle(color: colorSchemePrimary),
|
||||
recognizer: ImmediateTapGestureRecognizer()
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () => Get.toNamed('/member?mid=${currentDesc.bizId}'),
|
||||
);
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user