opt dyn auth

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-24 13:20:03 +08:00
parent fe97a485c7
commit b6b67884f4
2 changed files with 15 additions and 9 deletions

View File

@@ -73,10 +73,8 @@ class AuthorPanel extends StatelessWidget {
alignment: Alignment.centerLeft,
child: GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: item.modules.moduleAuthor!.type == 'AUTHOR_TYPE_PGC' ||
item.modules.moduleAuthor!.type == 'AUTHOR_TYPE_UGC_SEASON'
? null
: () {
onTap: item.modules.moduleAuthor!.type == 'AUTHOR_TYPE_NORMAL'
? () {
feedBack();
Get.toNamed(
'/member?mid=${item.modules.moduleAuthor!.mid}',
@@ -84,7 +82,8 @@ class AuthorPanel extends StatelessWidget {
'face': item.modules.moduleAuthor!.face,
},
);
},
}
: null,
child: Row(
mainAxisSize: MainAxisSize.min,
children: [