add dialog when first seeing banned user list

Fixes #113
This commit is contained in:
Henry Hiles 2026-11-11 14:48:48 -05:00
commit 2520bda5a7
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View 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"),
),
],
);
}