mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-16 07:06:14 +08:00
opt dyn auth
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user