Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar committed Apr 5, 2024
1 parent 3e0b78b commit e5aba47
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/src/app/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class App extends StatelessWidget {
locale: locale,
debugShowCheckedModeBanner: false,
title: ref.watch(configProvider).appTitle,
themeMode: ThemeMode.light,
theme: appThemes.lightTheme,
darkTheme: appThemes.darkTheme,
localizationsDelegates: AppLocalizations.localizationsDelegates,
Expand Down
1 change: 1 addition & 0 deletions lib/src/features/login_screen/src/login_form.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class LoginForm extends StatelessWidget {
AppAssets.logo,
height: 80.0,
),
const SizedBox(height: 20),
Text(
l10n.loginFormTitle,
style: Theme.of(context).textTheme.headlineMedium,
Expand Down
2 changes: 1 addition & 1 deletion lib/src/l10n/app_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ abstract class AppLocalizations {
/// No description provided for @loginFormTitle.
///
/// In en, this message translates to:
/// **'login'**
/// **'Login'**
String get loginFormTitle;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/src/l10n/app_localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ class AppLocalizationsEn extends AppLocalizations {
String get newUserRegisterButtonLabel => 'new user? register';

@override
String get loginFormTitle => 'login';
String get loginFormTitle => 'Login';
}
2 changes: 1 addition & 1 deletion lib/src/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"pickImageDialogTitle":"Pick Image",
"introFinishButtonLabel":"Get Started",
"newUserRegisterButtonLabel": "new user? register",
"loginFormTitle": "login"
"loginFormTitle": "Login"
}
2 changes: 1 addition & 1 deletion lib/src/themes/themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AppThemes {

ThemeData get lightTheme {
_lightTheme = _lightTheme.copyWith(
textTheme: GoogleFonts.poppinsTextTheme(_darkTheme.textTheme));
textTheme: GoogleFonts.poppinsTextTheme(_lightTheme.textTheme));
return _lightTheme;
}

Expand Down

0 comments on commit e5aba47

Please sign in to comment.