mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-23 19:49:05 +08:00
fix height (#6846)
This commit is contained in:
parent
f7b35defc9
commit
352de75fdd
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user