|
@@ -123,7 +123,7 @@ class MyApp extends StatelessWidget {
|
|
|
defaultTransition: Transition.rightToLeft,
|
|
|
smartManagement: SmartManagement.keepFactory,
|
|
|
//网页Title显示
|
|
|
- title: 'YYBusiness-ER',
|
|
|
+ title: 'YY Employer',
|
|
|
//样式相关
|
|
|
theme: ThemeConfig.lightTheme,
|
|
|
darkTheme: ThemeConfig.darkTheme,
|
|
@@ -131,14 +131,15 @@ class MyApp extends StatelessWidget {
|
|
|
//本地化相关
|
|
|
locale: TranslationService.locale,
|
|
|
fallbackLocale: TranslationService.fallbackLocale,
|
|
|
- localizationsDelegates: const [
|
|
|
+ localizationsDelegates: const [
|
|
|
GlobalMaterialLocalizations.delegate,
|
|
|
GlobalWidgetsLocalizations.delegate,
|
|
|
GlobalCupertinoLocalizations.delegate,
|
|
|
],
|
|
|
supportedLocales: const [
|
|
|
- Locale('zh', 'CH'),
|
|
|
Locale('en', 'US'),
|
|
|
+ Locale('zh', ''),
|
|
|
+ Locale('vi', ''),
|
|
|
],
|
|
|
translations: TranslationService(),
|
|
|
//SmartDialog初始化默认Loading与Toast
|