add dialog warning icon
This commit is contained in:
@@ -293,6 +293,7 @@ class EditBangScreen extends HookConsumerWidget {
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
icon: const Icon(Icons.warning),
|
||||||
title: const Text('Delete Bang'),
|
title: const Text('Delete Bang'),
|
||||||
content: const Text(
|
content: const Text(
|
||||||
'Are you sure you want to delete this Bang?',
|
'Are you sure you want to delete this Bang?',
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ Future<DeleteDecision?> showDeleteFileDialog(
|
|||||||
final remember = useState(false);
|
final remember = useState(false);
|
||||||
|
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
icon: const Icon(Icons.warning),
|
||||||
title: const Text('Delete Downloaded File?'),
|
title: const Text('Delete Downloaded File?'),
|
||||||
content: Column(
|
content: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ class ProfileEditScreen extends HookConsumerWidget {
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
icon: const Icon(Icons.warning),
|
||||||
title: const Text('Delete User'),
|
title: const Text('Delete User'),
|
||||||
content: const Text(
|
content: const Text(
|
||||||
'Are you sure you want to delete this User including all data?',
|
'Are you sure you want to delete this User including all data?',
|
||||||
|
|||||||
@@ -300,6 +300,7 @@ class _FeedEditContent extends HookConsumerWidget {
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
icon: const Icon(Icons.warning),
|
||||||
title: const Text('Delete Feed'),
|
title: const Text('Delete Feed'),
|
||||||
content: const Text(
|
content: const Text(
|
||||||
'Are you sure you want to delete this feed and delete all related articles?',
|
'Are you sure you want to delete this feed and delete all related articles?',
|
||||||
|
|||||||
Reference in New Issue
Block a user