fix(app): Notifications is a Settings section with the shared heading and inset
This commit is contained in:
@@ -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!,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user