parent
e7527ba5e2
commit
2520bda5a7
1 changed files with 63 additions and 2 deletions
21
lib/widgets/room_chat/banned_warning_dialog.dart
Normal file
21
lib/widgets/room_chat/banned_warning_dialog.dart
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import "package:material_ui/material_ui.dart";
|
||||
|
||||
class const BannedWarningDialog({super.key}) extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) => AlertDialog(
|
||||
title: Text("View Banned Members?"),
|
||||
content: Text(
|
||||
"Banned members may have offensive or abusive display names and avatars.",
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.of(context).pop(false),
|
||||
child: Text("Cancel"),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () => Navigator.of(context).pop(true),
|
||||
child: Text("Continue and don't show again"),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue