add dialog warning icon
This commit is contained in:
@@ -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?',
|
||||
|
||||
Reference in New Issue
Block a user