mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: report position
Closes #48 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -189,22 +189,6 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
// ),
|
// ),
|
||||||
// ),
|
// ),
|
||||||
// if (widget.videoDetailCtr?.userInfo != null)
|
// if (widget.videoDetailCtr?.userInfo != null)
|
||||||
ListTile(
|
|
||||||
dense: true,
|
|
||||||
onTap: () {
|
|
||||||
if (widget.videoDetailCtr?.userInfo == null) {
|
|
||||||
SmartDialog.showToast('账号未登录');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Get.back();
|
|
||||||
Get.toNamed('/webviewnew', parameters: {
|
|
||||||
'url':
|
|
||||||
'https://www.bilibili.com/appeal/?avid=${IdUtils.bv2av(widget.videoDetailCtr!.bvid)}&bvid=${widget.videoDetailCtr!.bvid}'
|
|
||||||
});
|
|
||||||
},
|
|
||||||
leading: const Icon(Icons.error_outline, size: 20),
|
|
||||||
title: const Text('举报', style: titleStyle),
|
|
||||||
),
|
|
||||||
ListTile(
|
ListTile(
|
||||||
dense: true,
|
dense: true,
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
@@ -514,6 +498,22 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
ListTile(
|
||||||
|
dense: true,
|
||||||
|
onTap: () {
|
||||||
|
if (widget.videoDetailCtr?.userInfo == null) {
|
||||||
|
SmartDialog.showToast('账号未登录');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Get.back();
|
||||||
|
Get.toNamed('/webviewnew', parameters: {
|
||||||
|
'url':
|
||||||
|
'https://www.bilibili.com/appeal/?avid=${IdUtils.bv2av(widget.videoDetailCtr!.bvid)}&bvid=${widget.videoDetailCtr!.bvid}'
|
||||||
|
});
|
||||||
|
},
|
||||||
|
leading: const Icon(Icons.error_outline, size: 20),
|
||||||
|
title: const Text('举报', style: titleStyle),
|
||||||
|
),
|
||||||
const SizedBox(height: 14),
|
const SizedBox(height: 14),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user