fix height (#6846)

This commit is contained in:
Sahil Yeole
2024-01-10 06:56:01 +05:30
committed by GitHub
parent f7b35defc9
commit 352de75fdd

View File

@@ -267,6 +267,7 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> {
@override
Widget build(BuildContext context) {
final isButtonLocked = _countdown > 0;
final screenHeight = MediaQuery.of(context).size.height;
return AlertDialog(
content: Container(
@@ -321,7 +322,7 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> {
),
SizedBox(height: 18),
SizedBox(
height: 220,
height: screenHeight * 0.3,
child: Scrollbar(
child: SingleChildScrollView(
child: Text(