make scam alert text scrollable

Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
Sahil Yeole 2023-10-10 20:58:58 +05:30
parent 8892c8c883
commit 387d712b67

View File

@ -328,13 +328,20 @@ class _ScamWarningDialogState extends State<ScamWarningDialog> {
), ),
), ),
SizedBox(height: 18), SizedBox(height: 18),
Text( SizedBox(
translate("scam_text1")+"\n\n" height: 250,
+translate("scam_text2")+"\n", child: Scrollbar(
style: TextStyle( child: SingleChildScrollView(
color: Colors.white, child: Text(
fontWeight: FontWeight.bold, translate("scam_text1")+"\n\n"
fontSize: 16.0, +translate("scam_text2")+"\n",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
fontSize: 16.0,
),
),
),
), ),
), ),
Row( Row(