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

+4
View File
@@ -42,6 +42,10 @@ android {
}
}
dependencies {
implementation("androidx.core:core-ktx:1.13.1")
}
kotlin {
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17