Alert Settings
{#await Badge.isSupported()}
{:then { isSupported }}
{#if isSupported}
{#snippet label()}
Show badge for unread alerts
{/snippet}
{#snippet input()}
{/snippet}
{/if}
{/await}
{#if !Capacitor.isNativePlatform()}
{#snippet label()}
Play sound for new activity
{/snippet}
{#snippet input()}
{/snippet}
{/if}
{#snippet label()}
Enable push notifications
{/snippet}
{#snippet input()}
{/snippet}
Email Digest Settings
{#snippet label()}
Receive email digest of missed activity
{/snippet}
{#snippet input()}
{/snippet}
{#if settings.email}
{#if $communitiesWithoutEmail.length > 0}
{#if $communitiesWithoutEmail.length === 1}
1 of your communities does not support email notifications.
{:else}
{$communitiesWithoutEmail.length} of your communities do not support email notifications.
{/if}
{#each $communitiesWithoutEmail as name (name)}
- {name}
{/each}
{/if}
{#snippet label()}
Email address
{/snippet}
{#snippet input()}
{/snippet}
{#snippet label()}
Frequency
{/snippet}
{#snippet input()}
{/snippet}
{/if}
{#if $emailNotificationState.error}
{$emailNotificationState.error}
{/if}
{/if}