Skip to content

Commit 4c0c6cd

Browse files
committed
text [nfc]: Update comment on weightVariableTextStyle(…).fontWeight
Related: zulip#500
1 parent a769a24 commit 4c0c6cd

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
@@ -200,8 +200,9 @@ TextStyle weightVariableTextStyle(BuildContext? context, {
200200
fontVariations: [FontVariation('wght', value)],
201201

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

207208
inherit: true);

0 commit comments

Comments
 (0)