File tree Expand file tree Collapse file tree
packages/devtools_app/lib/src/shared/console/widgets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -303,6 +303,10 @@ class DiagnosticsNodeDescription extends StatelessWidget {
303303 // provide some contrast between the name and description if both are
304304 // present.
305305 textStyle = textStyle.merge (theme.subtleTextStyle);
306+ final fontSize = textStyle.fontSize;
307+ if (fontSize != null ) {
308+ textStyle = textStyle.copyWith (fontSize: fontSize);
309+ }
306310 }
307311
308312 if (diagnosticLocal.isCreatedByLocalProject) {
@@ -398,7 +402,11 @@ class DiagnosticsNodeDescription extends StatelessWidget {
398402 // those that were:
399403 if (! diagnosticLocal.isCreatedByLocalProject &&
400404 diagnosticLocal.description != '[root]' ) {
405+ final fontSize = textStyle.fontSize;
401406 textStyle = textStyle.merge (theme.subtleTextStyle);
407+ if (fontSize != null ) {
408+ textStyle = textStyle.copyWith (fontSize: fontSize);
409+ }
402410 }
403411
404412 var diagnosticDescription = buildDescription (
You can’t perform that action at this time.
0 commit comments