diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-10 17:09:12 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-10 17:09:12 +0200 |
| commit | b39e73cbb279ab0274e8cd0b84304a602fe1d5ef (patch) | |
| tree | 91e86b70289f5c0252372f4f05b83b38f049c64f /packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js | |
| parent | ff982773308d042e4ec68fae9cad5c5742bc7395 (diff) | |
| download | meshbay-b39e73cbb279ab0274e8cd0b84304a602fe1d5ef.tar.gz | |
Slices are asked for in the address, not a Range header the WebView drops;
a settings change runs at once; the notification is updated once a second;
the SMS section says how to lift Android's restricted setting; the photo
section says whether videos are included.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js b/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js index 631be50..9fac9e4 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js @@ -44,11 +44,13 @@ export function AndroidSyncPage({ user, groups }) { const moved = (next) => { setDest(next); - // Each kind that is on starts again in the new place, now. - if (platform.photoSync.available) runPhotoSync(); - for (const kind of Object.keys(KINDS)) if (KINDS[kind].sync.available) runDocSync(kind); - if (platform.driveSync.available) runDriveSync(); - if (platform.whatsappSync.available) runWhatsAppSync(); + // Each kind that is on starts again in the new place, now: forced, as a + // run asked for by a change, not left to the 15-minute retry spacing. + const now = { force: true }; + if (platform.photoSync.available) runPhotoSync(now); + for (const kind of Object.keys(KINDS)) if (KINDS[kind].sync.available) runDocSync(kind, now); + if (platform.driveSync.available) runDriveSync(now); + if (platform.whatsappSync.available) runWhatsAppSync(now); }; return html` |