feat(notifications): add per-tenant notification preferences
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user