mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-03 01:00:14 +08:00
show img menu
opt img placeholder opt player gesture opt pref tweaks Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -773,6 +773,9 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
|
||||
int? ownerMid,
|
||||
Staff item,
|
||||
) {
|
||||
void onTap() => Get.toNamed(
|
||||
'/member?mid=${item.mid}&from_view_aid=${videoDetailCtr.aid}',
|
||||
);
|
||||
return GestureDetector(
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onTap: () {
|
||||
@@ -781,11 +784,13 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
|
||||
introController.horizontalMemberPage) {
|
||||
widget.onShowMemberPage(ownerMid);
|
||||
} else {
|
||||
Get.toNamed(
|
||||
'/member?mid=${item.mid}&from_view_aid=${videoDetailCtr.aid}',
|
||||
);
|
||||
onTap();
|
||||
}
|
||||
},
|
||||
onSecondaryTap:
|
||||
PlatformUtils.isDesktop && introController.horizontalMemberPage
|
||||
? onTap
|
||||
: null,
|
||||
child: Row(
|
||||
children: [
|
||||
Stack(
|
||||
@@ -893,6 +898,12 @@ class _UgcIntroPanelState extends State<UgcIntroPanel> {
|
||||
) => GestureDetector(
|
||||
onTap: onPushMember,
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onSecondaryTap:
|
||||
PlatformUtils.isDesktop && introController.horizontalMemberPage
|
||||
? () => Get.toNamed(
|
||||
'/member?mid=${introController.userStat.value.card?.mid}&from_view_aid=${videoDetailCtr.aid}',
|
||||
)
|
||||
: null,
|
||||
child: Obx(
|
||||
() {
|
||||
final userStat = introController.userStat.value;
|
||||
|
||||
Reference in New Issue
Block a user