aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
blob: 6285b3c4114d6c9bade4fa14a3ba01d6fc0f6cd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// The Android Sync page: what this phone sends to its groups, on the Android
// application only (docs/MESHBAY_DESIGN.md §9.12). Loaded on demand, like the
// sections it holds: no other client has it.

import { html } from './vendor/htm-preact.js';
import { t } from './i18n.js';
import { PhotoSyncSection } from './photo-sync-settings.js';

export function AndroidSyncPage({ user, groups }) {
  return html`
    <div>
      <h2>${t('androidsync.title')}</h2>
      <${PhotoSyncSection} user=${user} groups=${groups || []} />
    </div>
  `;
}