Skip to content

Commit

Permalink
fix(thread): Fix order always reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Jun 15, 2024
1 parent bf2a924 commit 31926af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [0.13.1] - 2024-06-16

### Fixed

- 帖子:修复帖子只能倒序浏览的问题。

### Changed

- app: 更新样式和布局,更符合Material Design 3。
Expand Down
2 changes: 1 addition & 1 deletion lib/features/thread/repository/thread_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ThreadRepository {
// post.
final orderType = switch (reverseOrder) {
true => '&ordertype=1',
false => '&ordertype=1',
false => '&ordertype=2',
null => '',
};

Expand Down

0 comments on commit 31926af

Please sign in to comment.