Skip to content

Commit

Permalink
Remove the statistics button on the details page
Browse files Browse the repository at this point in the history
移除详情页统计按钮
  • Loading branch information
jiangtian616 committed Jan 17, 2025
1 parent 9aa5ae5 commit 32060a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog/v8.0.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- 移除详情页统计按钮

--------------------

- Remove the statistics button on the details page
4 changes: 2 additions & 2 deletions lib/src/pages/details/details_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ class DetailsPage extends StatelessWidget with Scroll2TopPageMixin {
builder: (_, BoxConstraints constraints) => ListView(
scrollDirection: Axis.horizontal,
physics: const BouncingScrollPhysics(parent: AlwaysScrollableScrollPhysics()),
itemExtent: max(UIConfig.detailsPageActionExtent, (constraints.maxWidth - UIConfig.detailPagePadding * 2) / 9),
itemExtent: max(UIConfig.detailsPageActionExtent, (constraints.maxWidth - UIConfig.detailPagePadding * 2) / 8),
padding: EdgeInsets.zero,
children: [
_buildReadButton(context),
Expand All @@ -851,7 +851,7 @@ class DetailsPage extends StatelessWidget with Scroll2TopPageMixin {
_buildHHButton(context),
_buildSimilarButton(context),
_buildTorrentButton(context),
_buildStatisticButton(context),
// _buildStatisticButton(context),
],
).enableMouseDrag(withScrollBar: false),
),
Expand Down

0 comments on commit 32060a6

Please sign in to comment.