feat(notifications): add per-tenant notification preferences

This commit is contained in:
2026-10-03 14:50:38 +02:00
parent efa6ea90a2
commit 4c67ddd908
12 changed files with 322 additions and 22 deletions

View File

@@ -15,6 +15,8 @@ import {
} from '@/src/lib/server-config';
import { useAuth } from '@/src/providers/auth-provider';
import { NotificationPreferences } from '@/src/components/NotificationPreferences';
const PRIMARY = '#69c350';
function isValidServerUrl(value: string): boolean {
@@ -153,6 +155,7 @@ export default function SettingsScreen() {
return (
<ScrollView contentContainerStyle={styles.container}>
{token && <NotificationPreferences key={String(activeTenantId)} token={token} />}
<View style={styles.card}>
<Text style={styles.title}>Server-Instanz</Text>
<Text style={styles.hint}>