fix(mobile): match the Diagnostics card to neighbouring Settings cards

Add row subtitles and use the icon-free divider indent (Grid.xs) like the other Settings cards.

Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@localhost>
Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
Tom Brow
2026-11-20 10:27:22 -08:00
parent 1096191b21
commit 129dd7166e

View File

@@ -9,11 +9,13 @@ class _DiagnosticsSection extends ConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
final reporter = ref.watch(diagnosticReporterProvider);
return AppListCard(
dividerIndent: Grid.xs,
verticalPadding: Grid.twelve,
children: [
AppListRow(
key: const Key('settings-send-test-report'),
title: 'Send test report',
subtitle: 'Send a test error to the reporting destination',
onTap: () {
reporter.sendTestReport();
ScaffoldMessenger.of(context).showFeedbackSnackBar(
@@ -25,6 +27,7 @@ class _DiagnosticsSection extends ConsumerWidget {
AppListRow(
key: const Key('settings-test-crash'),
title: 'Test crash',
subtitle: 'Crash Buzz in native code to check crash reports',
titleColor: context.colors.error,
onTap: () async {
final confirmed = await showDestructiveConfirmation(