From b39e73cbb279ab0274e8cd0b84304a602fe1d5ef Mon Sep 17 00:00:00 2001
From: Christophe Besson
Date: Sat, 10 Oct 2026 17:09:12 +0200
Subject: fix(android): what the first backup on a phone showed
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
---
packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js')
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js b/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js
index 088de76..d2a839e 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/photo-sync-settings.js
@@ -103,6 +103,8 @@ export function PhotoSyncSection({ destination }) {
? t('photosync.last_run', { when: new Date(status.lastCompleted).toLocaleString() })
: t('photosync.never')}
+
+ ${t(cfg.includeVideos ? 'photosync.videos_included' : 'photosync.videos_not_included')}
${status.permission === 'partial' && html`
${t('photosync.permission_partial')}
`}
${cfg.includeVideos && status.videoPermission === 'denied' && html`
@@ -123,7 +125,7 @@ export function PhotoSyncSection({ destination }) {
${editing && html`
<${Setup} status=${status}
onPermission=${setStatus}
- onDone=${(next) => { setEditing(false); if (next) { setStatus(next); runPhotoSync(); } }} />`}
+ onDone=${(next) => { setEditing(false); if (next) { setStatus(next); runPhotoSync({ force: true }); } }} />`}
${error && html`${error}
`}
`;
--
cgit v1.2.3