aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-10 15:11:52 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-10 15:11:52 +0200
commit1fd7bbcd038cddf40540bae7083b9adf4c728912 (patch)
tree00574a2ce5c3f592c71d5a339dde9fb263636eeb /packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js
parent3bad2b50187f55463588a2d4e74fa9df4beb35b8 (diff)
downloadmeshbay-1fd7bbcd038cddf40540bae7083b9adf4c728912.tar.gz
feat(android): back the videos of the chosen albums up beside the photos
A 'Videos too' option, off by default, sends them into the same YYYY/YYYY-MM folders. Files are read from the phone a ranged chunk at a time, so a large video is never whole in the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js')
-rw-r--r--packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js b/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js
index 9d313bf..80e0e34 100644
--- a/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js
+++ b/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js
@@ -207,8 +207,8 @@
// The page decides when and does the sending. Phone-only, like `push`.
photoSync: {
status: () => call('photosync:status'),
- permit: () => call('photosync:permit'),
- albums: () => call('photosync:albums'),
+ permit: (withVideos) => call('photosync:permit', withVideos === true),
+ albums: (withVideos) => call('photosync:albums', withVideos === true),
configure: (settings) => call('photosync:configure', settings || null),
estimate: (settings) => call('photosync:estimate', settings),
plan: () => call('photosync:plan'),