From 2921e03f18c47131876d234616f26a2d4b604dc1 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Thu, 27 Nov 2025 07:53:39 +0100 Subject: [PATCH] add dialog warning icon --- app/lib/features/bangs/presentation/screens/edit.dart | 1 + .../features/history/presentation/dialogs/delete_file.dart | 1 + .../features/user/domain/presentation/screens/profile_edit.dart | 1 + app/lib/features/web_feed/presentation/screens/feed_edit.dart | 1 + 4 files changed, 4 insertions(+) diff --git a/app/lib/features/bangs/presentation/screens/edit.dart b/app/lib/features/bangs/presentation/screens/edit.dart index 2e53e1dc..ea50fa9a 100644 --- a/app/lib/features/bangs/presentation/screens/edit.dart +++ b/app/lib/features/bangs/presentation/screens/edit.dart @@ -293,6 +293,7 @@ class EditBangScreen extends HookConsumerWidget { context: context, builder: (BuildContext context) { return AlertDialog( + icon: const Icon(Icons.warning), title: const Text('Delete Bang'), content: const Text( 'Are you sure you want to delete this Bang?', diff --git a/app/lib/features/geckoview/features/history/presentation/dialogs/delete_file.dart b/app/lib/features/geckoview/features/history/presentation/dialogs/delete_file.dart index bbbb6524..aac30e6a 100644 --- a/app/lib/features/geckoview/features/history/presentation/dialogs/delete_file.dart +++ b/app/lib/features/geckoview/features/history/presentation/dialogs/delete_file.dart @@ -20,6 +20,7 @@ Future showDeleteFileDialog( final remember = useState(false); return AlertDialog( + icon: const Icon(Icons.warning), title: const Text('Delete Downloaded File?'), content: Column( mainAxisSize: MainAxisSize.min, diff --git a/app/lib/features/user/domain/presentation/screens/profile_edit.dart b/app/lib/features/user/domain/presentation/screens/profile_edit.dart index 7feb0115..d30d40e0 100644 --- a/app/lib/features/user/domain/presentation/screens/profile_edit.dart +++ b/app/lib/features/user/domain/presentation/screens/profile_edit.dart @@ -83,6 +83,7 @@ class ProfileEditScreen extends HookConsumerWidget { context: context, builder: (BuildContext context) { return AlertDialog( + icon: const Icon(Icons.warning), title: const Text('Delete User'), content: const Text( 'Are you sure you want to delete this User including all data?', diff --git a/app/lib/features/web_feed/presentation/screens/feed_edit.dart b/app/lib/features/web_feed/presentation/screens/feed_edit.dart index efa33ca0..6204fe4a 100644 --- a/app/lib/features/web_feed/presentation/screens/feed_edit.dart +++ b/app/lib/features/web_feed/presentation/screens/feed_edit.dart @@ -300,6 +300,7 @@ class _FeedEditContent extends HookConsumerWidget { context: context, builder: (BuildContext context) { return AlertDialog( + icon: const Icon(Icons.warning), title: const Text('Delete Feed'), content: const Text( 'Are you sure you want to delete this feed and delete all related articles?',