Skip to content

fix: 修复访问没有权限书籍时多次重试导致加载时长过长,桌面端设备无法返回的问题 - #2

Merged
wuyu8512 merged 4 commits into
LightNovelShelf:mainfrom
bGlzdGRlcg:main
Aug 24, 2026
Merged

fix: 修复访问没有权限书籍时多次重试导致加载时长过长,桌面端设备无法返回的问题#2
wuyu8512 merged 4 commits into
LightNovelShelf:mainfrom
bGlzdGRlcg:main

Conversation

@bGlzdGRlcg

Copy link
Copy Markdown
Contributor
屏幕截图_20260824_113649 当打开没有权限的书籍时,桌面端无法正常返回

Copilot AI lite review requested due to automatic review settings August 24, 2026 03:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes desktop navigation when opening books without permission by adding a back affordance to the error state.

Changes:

  • Adds a fallback AppBar for book-detail load errors.
  • Preserves existing loading and successful-content behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/features/book/book_detail_screen.dart
@bGlzdGRlcg bGlzdGRlcg changed the title fix: 修复桌面端设备无法返回的问题 fix: 修复访问没有权限书籍时多次重试导致加载时长过长,桌面端设备无法返回的问题 Aug 24, 2026
@wuyu8512

Copy link
Copy Markdown
Contributor

嗯。。。理论上网络错误才需要重试,服务器错误直接抛出来显示

@bGlzdGRlcg

Copy link
Copy Markdown
Contributor Author

嗯。。。理论上网络错误才需要重试,服务器错误直接抛出来显示

已修正

@wuyu8512
wuyu8512 merged commit 3095d92 into LightNovelShelf:main Aug 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants