TF-357 Fix avoid loading so many fonts
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
class ConstantsUI {
|
||||
static const fontApp = 'CircularStd';
|
||||
static const fontSFProText = 'SFProText';
|
||||
static const fontApp = 'Inter';
|
||||
}
|
||||
@@ -6,7 +6,7 @@ import 'package:flutter/services.dart';
|
||||
ThemeData appTheme() {
|
||||
return ThemeData(
|
||||
scaffoldBackgroundColor: Colors.white,
|
||||
fontFamily: ConstantsUI.fontSFProText,
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
appBarTheme: appBarTheme(),
|
||||
textTheme: textTheme(),
|
||||
visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||
|
||||
Reference in New Issue
Block a user