Fix text scaling on about dialog
This commit is contained in:
parent
68c937a73d
commit
240b7f05c0
@ -38,12 +38,14 @@ class AboutDialogContent extends StatelessWidget {
|
||||
}
|
||||
}
|
||||
|
||||
double fontSize = $styles.text.bodySmall.fontSize!;
|
||||
fontSize *= MediaQuery.textScaleFactorOf(context);
|
||||
return SingleChildScrollView(
|
||||
child: Column(children: [
|
||||
Gap($styles.insets.sm),
|
||||
RichText(
|
||||
text: TextSpan(
|
||||
style: $styles.text.bodySmall.copyWith(color: Colors.black),
|
||||
style: $styles.text.bodySmall.copyWith(color: Colors.black, fontSize: fontSize),
|
||||
children: [
|
||||
...buildSpan($strings.homeMenuAboutWonderous),
|
||||
...buildSpan($strings.homeMenuAboutBuilt, linkSupplants: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user