fix(app): Notifications is a Settings section with the shared heading and inset

This commit is contained in:
2026-10-23 13:15:24 +01:00
parent 091ffd740d
commit e9f322f3f1
4 changed files with 25 additions and 51 deletions
@@ -5,6 +5,7 @@ import 'package:flutter/material.dart';
import '../../core/transport/pipelines_client.dart' as transport;
import '../attention/notify/notification_controller.dart';
import '../attention/notify/notification_models.dart';
import 'default_endpoint.dart';
import 'settings_controller.dart';
import 'settings_controls.dart';
@@ -149,9 +150,8 @@ class _SettingsScreenState extends State<SettingsScreen> {
),
if (widget.notifications != null) ...<Widget>[
const SizedBox(height: settingsSectionGap),
// The permission tile draws its own compact title row, so
// Settings must not add a second "Notifications" heading.
_SettingsSection(
title: notificationSectionTitle,
child: SettingsNotificationsSection(
controller: widget.notifications!,
),