opt: func

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-07 13:07:15 +08:00
parent 6353ecc13e
commit 286193f08f
99 changed files with 204 additions and 270 deletions

View File

@@ -59,7 +59,7 @@ class VideoCustomActions {
'访问:${videoItem.owner.name}',
'visit',
Icon(MdiIcons.accountCircleOutline, size: 16),
() async {
() {
Get.toNamed('/member?mid=${videoItem.owner.mid}', arguments: {
'heroTag': '${videoItem.owner.mid}',
});
@@ -108,7 +108,7 @@ class VideoCustomActions {
);
}
await showDialog(
showDialog(
context: context,
builder: (context) {
return AlertDialog(
@@ -166,7 +166,7 @@ class VideoCustomActions {
},
);
} else {
await showDialog(
showDialog(
context: context,
builder: (context) {
return AlertDialog(
@@ -227,8 +227,8 @@ class VideoCustomActions {
}),
if (videoItem is! SpaceArchiveItem)
VideoCustomAction('拉黑:${videoItem.owner.name}', 'block',
Icon(MdiIcons.cancel, size: 16), () async {
await showDialog(
Icon(MdiIcons.cancel, size: 16), () {
showDialog(
context: context,
builder: (context) {
return AlertDialog(