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 'dart:io';
|
||||||
|
|
||||||
import 'package:cwtch/constants.dart';
|
import 'package:cwtch/constants.dart';
|
||||||
|
|
|
@ -166,9 +166,11 @@ class _ContactRowState extends State<ContactRow> {
|
||||||
child: Text(
|
child: Text(
|
||||||
contact.onion,
|
contact.onion,
|
||||||
overflow: TextOverflow.ellipsis,
|
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)
|
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(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
height: 24,
|
height: 18.0 * Provider.of<Settings>(context).fontScaling + 10.0,
|
||||||
clipBehavior: Clip.hardEdge,
|
clipBehavior: Clip.hardEdge,
|
||||||
decoration: BoxDecoration(),
|
decoration: BoxDecoration(),
|
||||||
child: Text(
|
child: Text(
|
||||||
|
@ -61,6 +61,10 @@ class _ProfileRowState extends State<ProfileRow> {
|
||||||
child: Text(
|
child: Text(
|
||||||
profile.onion,
|
profile.onion,
|
||||||
softWrap: true,
|
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,
|
overflow: TextOverflow.ellipsis,
|
||||||
)))
|
)))
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue