add dialog warning icon

This commit is contained in:
Fabian Freund
2025-11-27 07:53:39 +01:00
parent 95ce7fd3f5
commit 2921e03f18
4 changed files with 4 additions and 0 deletions
@@ -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?',
@@ -20,6 +20,7 @@ Future<DeleteDecision?> showDeleteFileDialog(
final remember = useState(false);
return AlertDialog(
icon: const Icon(Icons.warning),
title: const Text('Delete Downloaded File?'),
content: Column(
mainAxisSize: MainAxisSize.min,
@@ -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?',
@@ -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?',