mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 17:16:29 +08:00
opt dyn jump
tweak Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -60,8 +60,7 @@ class ActionPanel extends StatelessWidget {
|
||||
),
|
||||
Expanded(
|
||||
child: TextButton.icon(
|
||||
onPressed: () =>
|
||||
PageUtils.pushDynDetail(item, 1, action: 'comment'),
|
||||
onPressed: () => PageUtils.pushDynDetail(item, isPush: true),
|
||||
icon: Icon(
|
||||
FontAwesomeIcons.comment,
|
||||
size: 16,
|
||||
|
||||
@@ -59,7 +59,7 @@ class DynamicPanel extends StatelessWidget {
|
||||
'DYNAMIC_TYPE_COURSES_SEASON',
|
||||
}.contains(item.type)
|
||||
? null
|
||||
: () => PageUtils.pushDynDetail(item, 1),
|
||||
: () => PageUtils.pushDynDetail(item),
|
||||
onLongPress: () => _imageSaveDialog(context, authorWidget.morePanel),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
||||
@@ -25,7 +25,7 @@ Widget liveRcmdPanel(
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: StyleString.safeSpace),
|
||||
child: GestureDetector(
|
||||
onTap: () => PageUtils.pushDynDetail(item, floor),
|
||||
onTap: () => PageUtils.pushDynDetail(item),
|
||||
child: Stack(
|
||||
clipBehavior: Clip.none,
|
||||
children: [
|
||||
|
||||
@@ -85,7 +85,7 @@ Widget module(
|
||||
}
|
||||
maxWidth -= 30;
|
||||
return InkWell(
|
||||
onTap: () => PageUtils.pushDynDetail(orig, floor + 1),
|
||||
onTap: () => PageUtils.pushDynDetail(orig),
|
||||
onLongPress: () {
|
||||
String? title, cover, bvid;
|
||||
late var origMajor = orig.modules.moduleDynamic?.major;
|
||||
|
||||
Reference in New Issue
Block a user