mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-03 19:39:20 +08:00
fix height (#6846)
This commit is contained in:
parent
f7b35defc9
commit
352de75fdd
@ -267,6 +267,7 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final isButtonLocked = _countdown > 0;
|
final isButtonLocked = _countdown > 0;
|
||||||
|
final screenHeight = MediaQuery.of(context).size.height;
|
||||||
|
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
content: Container(
|
content: Container(
|
||||||
@ -321,7 +322,7 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> {
|
|||||||
),
|
),
|
||||||
SizedBox(height: 18),
|
SizedBox(height: 18),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 220,
|
height: screenHeight * 0.3,
|
||||||
child: Scrollbar(
|
child: Scrollbar(
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
child: Text(
|
child: Text(
|
||||||
|
Loading…
Reference in New Issue
Block a user