mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-21 07:33:18 +03:00
make scam alert text scrollable
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
@@ -328,7 +328,11 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: 18),
|
SizedBox(height: 18),
|
||||||
Text(
|
SizedBox(
|
||||||
|
height: 250,
|
||||||
|
child: Scrollbar(
|
||||||
|
child: SingleChildScrollView(
|
||||||
|
child: Text(
|
||||||
translate("scam_text1")+"\n\n"
|
translate("scam_text1")+"\n\n"
|
||||||
+translate("scam_text2")+"\n",
|
+translate("scam_text2")+"\n",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@@ -337,6 +341,9 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> {
|
|||||||
fontSize: 16.0,
|
fontSize: 16.0,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
Row(
|
Row(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Checkbox(
|
Checkbox(
|
||||||
|
|||||||
Reference in New Issue
Block a user