diff --git a/lib/views/profilemgrview.dart b/lib/views/profilemgrview.dart index dd00ea59..7adecc85 100644 --- a/lib/views/profilemgrview.dart +++ b/lib/views/profilemgrview.dart @@ -1,4 +1,3 @@ -import 'dart:convert'; import 'dart:io'; import 'package:cwtch/constants.dart'; diff --git a/lib/widgets/contactrow.dart b/lib/widgets/contactrow.dart index dbeb0ee7..a6276ae8 100644 --- a/lib/widgets/contactrow.dart +++ b/lib/widgets/contactrow.dart @@ -166,9 +166,11 @@ class _ContactRowState extends State { child: Text( contact.onion, overflow: TextOverflow.ellipsis, - style: TextStyle( + style: Provider.of(context).scaleFonts(TextStyle( + fontSize: 13.0, + fontFamily: "RobotoMono", color: ((contact.isBlocked ? Provider.of(context).theme.portraitBlockedTextColor : Provider.of(context).theme.mainTextColor) as Color) - .withOpacity(0.8)), + .withOpacity(0.8))), )), ], ))), diff --git a/lib/widgets/profilerow.dart b/lib/widgets/profilerow.dart index 4e53a773..bb5b5366 100644 --- a/lib/widgets/profilerow.dart +++ b/lib/widgets/profilerow.dart @@ -45,7 +45,7 @@ class _ProfileRowState extends State { child: Column( children: [ Container( - height: 24, + height: 18.0 * Provider.of(context).fontScaling + 10.0, clipBehavior: Clip.hardEdge, decoration: BoxDecoration(), child: Text( @@ -61,6 +61,10 @@ class _ProfileRowState extends State { child: Text( profile.onion, softWrap: true, + style: TextStyle( + fontFamily: "RobotoMono", + fontSize: 14.0 * Provider.of(context).fontScaling, + color: ((Provider.of(context).theme.mainTextColor) as Color).withOpacity(0.8)), overflow: TextOverflow.ellipsis, ))) ],