File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ import 'package:flutter/material.dart';
34
34
Typography zulipTypography (BuildContext context) {
35
35
final typography = Theme .of (context).typography;
36
36
37
+ convertGeometry (TextTheme inputTextTheme) {
38
+ TextTheme result = _weightVariableTextTheme (context, inputTextTheme);
39
+ return result;
40
+ }
41
+
37
42
Typography result = typography.copyWith (
38
43
black: typography.black.apply (
39
44
fontFamily: kDefaultFontFamily,
@@ -42,9 +47,9 @@ Typography zulipTypography(BuildContext context) {
42
47
fontFamily: kDefaultFontFamily,
43
48
fontFamilyFallback: defaultFontFamilyFallback),
44
49
45
- dense: _weightVariableTextTheme (context, typography.dense),
46
- englishLike: _weightVariableTextTheme (context, typography.englishLike),
47
- tall: _weightVariableTextTheme (context, typography.tall),
50
+ dense: convertGeometry ( typography.dense),
51
+ englishLike: convertGeometry ( typography.englishLike),
52
+ tall: convertGeometry ( typography.tall),
48
53
);
49
54
50
55
assert (() {
You can’t perform that action at this time.
0 commit comments