From 352de75fdd1e65b14603ff9bfc0c058a435479aa Mon Sep 17 00:00:00 2001 From: Sahil Yeole <73148455+sahilyeole@users.noreply.github.com> Date: Wed, 10 Jan 2024 06:56:01 +0530 Subject: [PATCH] fix height (#6846) --- flutter/lib/mobile/pages/server_page.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flutter/lib/mobile/pages/server_page.dart b/flutter/lib/mobile/pages/server_page.dart index bcb077782..537d353b7 100644 --- a/flutter/lib/mobile/pages/server_page.dart +++ b/flutter/lib/mobile/pages/server_page.dart @@ -267,6 +267,7 @@ class _ScamWarningDialogState extends State { @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 { ), SizedBox(height: 18), SizedBox( - height: 220, + height: screenHeight * 0.3, child: Scrollbar( child: SingleChildScrollView( child: Text(