Use monospace for cwtch identifiers so they are fixed width
continuous-integration/drone/pr Build is pending
Details
continuous-integration/drone/pr Build is pending
Details
This commit is contained in:
parent
cd476f39c0
commit
497a12e8b6
|
@ -1,4 +1,3 @@
|
|||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:cwtch/constants.dart';
|
||||
|
|
|
@ -166,9 +166,11 @@ class _ContactRowState extends State<ContactRow> {
|
|||
child: Text(
|
||||
contact.onion,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
style: Provider.of<Settings>(context).scaleFonts(TextStyle(
|
||||
fontSize: 13.0,
|
||||
fontFamily: "RobotoMono",
|
||||
color: ((contact.isBlocked ? Provider.of<Settings>(context).theme.portraitBlockedTextColor : Provider.of<Settings>(context).theme.mainTextColor) as Color)
|
||||
.withOpacity(0.8)),
|
||||
.withOpacity(0.8))),
|
||||
)),
|
||||
],
|
||||
))),
|
||||
|
|
|
@ -45,7 +45,7 @@ class _ProfileRowState extends State<ProfileRow> {
|
|||
child: Column(
|
||||
children: [
|
||||
Container(
|
||||
height: 24,
|
||||
height: 18.0 * Provider.of<Settings>(context).fontScaling + 10.0,
|
||||
clipBehavior: Clip.hardEdge,
|
||||
decoration: BoxDecoration(),
|
||||
child: Text(
|
||||
|
@ -61,6 +61,10 @@ class _ProfileRowState extends State<ProfileRow> {
|
|||
child: Text(
|
||||
profile.onion,
|
||||
softWrap: true,
|
||||
style: TextStyle(
|
||||
fontFamily: "RobotoMono",
|
||||
fontSize: 14.0 * Provider.of<Settings>(context).fontScaling,
|
||||
color: ((Provider.of<Settings>(context).theme.mainTextColor) as Color).withOpacity(0.8)),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
)))
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue