浏览代码

Merge branch 'material' into 'master'

widgetapp + material bug fix (temp)

See merge request upm-packages/ui-widgets/com.unity.uiwidgets!124
/main
Shenhua Gu 6 年前
当前提交
ba498ac9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/material/theme.cs

2
Runtime/material/theme.cs


return inheritedTheme.theme.data;
}
MaterialLocalizations localizations = MaterialLocalizations.of(context);
//MaterialLocalizations localizations = MaterialLocalizations.of(context);
ScriptCategory category = ScriptCategory.englishLike;
ThemeData theme = inheritedTheme?.theme?.data ?? _kFallbackTheme;
return ThemeData.localize(theme, theme.typography.geometryThemeFor(category));

正在加载...
取消
保存