docs(plans): 记录暂停按钮修复

This commit is contained in:
Zhou Weidong committed 2026-10-19 16:07:56 +08:00
1 parent 71e2f266ff
commit 696e36a991
1 file changed
+38
+38
View File
@@ -5166,3 +5166,41 @@ c825025 merge: 清理 K26 旧 UI 与死代码
提交与合并 author/committer 均为 `Zhou Weidong <502333560@qq.com>`; 提交与合并 author/committer 均为 `Zhou Weidong <502333560@qq.com>`;
`develop` 与 `fix/flutter-k26-preview-authority` 已推送。 `develop` 与 `fix/flutter-k26-preview-authority` 已推送。
### K26 修复:详情播放器暂停重复按钮(2026-10-19)
- `player_view.dart:34` 新增 `shouldShowFeedPauseIndicator(...)`,条件为
`homeMode && selected && ready && !playing && !pip`。
- `player_view.dart:314` 独立中心播放提示改用该条件,并加 Key
`home-feed-center-play`;详情/选集进入不再渲染这层,只保留
`_PlaybackOverlay` 的 `player-play-toggle`。
- 首页 `homeMode=true` 暂停时仍显示独立中心播放提示,行为不变。
- `player_fullscreen_test.dart` 新增:详情播放暂停后
`player-play-toggle` 仅 1 个、`home-feed-center-play` 为 0、
全屏播放图标仅 1 个;另加条件单测验证首页 true、详情 false、播放中 false。
门禁原始输出:
```text
$ dart analyze lib test
No issues found!
$ flutter test
00:27 +345: All tests passed!
$ flutter build apk --debug
Running Gradle task 'assembleDebug'... 24.5s
✓ Built build/app/outputs/flutter-apk/app-debug.apk
```
构建在 `/tmp/reelshort-player-single-pause` 独立 worktree 完成。
Git:
```text
f0c5354 fix(player): 移除详情暂停重复按钮
568f051 merge: 修复详情暂停重复按钮
```
提交与合并 author/committer 均为 `Zhou Weidong <502333560@qq.com>`;
`develop` 与 `fix/flutter-player-single-pause` 已推送。