feat: save/share in the picture viewer, and a tap hides its chrome

- the viewer's top bar gains Save to Photos and Share on Android: saving
  writes through MediaStore into Pictures/Chamber Go (no permission on
  Android 10+, a runtime request on older versions), sharing hands a cache
  file to the system chooser through a FileProvider; both are a small
  native channel, not another plugin
- dsh-Go keeps its title bar always visible; here a single tap hides the
  title, keys and page indicator and the next tap brings them back, so they
  do not cover the picture. Double-tap still zooms, swiping still pages at
  1x, dragging pans while zoomed
- version 0.6.6+606; the viewer test now covers the platform calls, chrome
  toggle, zoom, pan and paging
This commit is contained in:
blumia committed 2026-12-01 11:53:54 +08:00
1 parent c2dabbe187
commit fedc4dd79c
10 files changed
+471 -45

No files matched your search

+10
View File
@@ -5,6 +5,16 @@
---
## 0.6.6 图片查看器:保存/分享与隐藏顶栏(分支 `flutter`)
| 项 | 结果 |
| --- | --- |
| 保存/分享 | 查看器右上角新增保存到相册、分享(Android):保存通过 MediaStore 写入 `Pictures/Chamber Go`(Android 10+ 无需权限,旧版本按需申请存储权限),分享用 FileProvider 生成临时文件并打开系统分享面板;非 Android 平台不显示这两个按钮 |
| 顶栏 | dsh-Go 的查看器顶栏(返回、文件名)是**始终显示**的;按你的建议,我们改为单指点击图片切换顶栏和底部页码的显示/隐藏,再点一次恢复,避免标题和按钮挡住图片;双击仍用于 2.5 倍缩放,未放大时左右滑动翻页,放大后单指拖动平移 |
| 版本 | **0.6.6(code 606)** |
---
## 0.6.5 会话图片全屏查看(分支 `flutter`)
| 项 | 结果 |