Skip to content

Commit 30cbd05

Browse files
committed
text [nfc]: Update comment on weightVariableTextStyle(…).fontWeight
Related: #500
1 parent 8415411 commit 30cbd05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/widgets/text.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ TextStyle weightVariableTextStyle(BuildContext? context, {
6767
fontVariations: [FontVariation('wght', value)],
6868

6969
// This use of `fontWeight` shouldn't affect glyphs in the preferred,
70-
// "wght"-axis font. If it does, see for debugging:
71-
// https://github.com/zulip/zulip-flutter/issues/65#issuecomment-1550666764
70+
// "wght"-axis font. But it can; see upstream bug:
71+
// https://github.com/flutter/flutter/issues/136779
72+
// TODO(#500) await/send upstream bugfix?
7273
fontWeight: clampVariableFontWeight(value),
7374

7475
inherit: true);

0 commit comments

Comments
 (0)