Skip to content

Commit ba2df3b

Browse files
committed
- fixed: #51
- fixed: translation issue on login screen
1 parent 64fd53d commit ba2df3b

File tree

4 files changed

+12
-17
lines changed

4 files changed

+12
-17
lines changed

assets/lang/da.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"login_start": "Below are list of strings for login da ",
3-
"login_et_user_id": "Brugernavn",
3+
"login_et_user_email": "Brugernavn",
44
"login_et_user_password": "Adgangskode",
55
"login_btn_forgot_password": "Glemt adgangskode?",
66
"login_btn_sign_in": "Log ind",

assets/lang/es.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"login_start": "Below are list of strings for login es ",
3-
"login_et_user_id": "Ingrese el correo electrónico del usuario",
3+
"login_et_user_email": "Ingrese el correo electrónico del usuario",
44
"login_et_user_password": "Introducir la contraseña",
55
"login_btn_forgot_password": "¿Se te olvidó tu contraseña",
66
"login_btn_sign_in": "Registrarse",

lib/ui/splash/splash.dart

-5
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,24 @@ class SplashScreen extends StatefulWidget {
1414
class _SplashScreenState extends State<SplashScreen> {
1515
@override
1616
void initState() {
17-
print('inside initState()');
1817
super.initState();
1918
startTimer();
2019
}
2120

2221
@override
2322
Widget build(BuildContext context) {
24-
print('inside build()');
2523

2624
return Material(
2725
child: Center(child: AppIconWidget(image: 'assets/icons/ic_appicon.png')),
2826
);
2927
}
3028

3129
startTimer() {
32-
print('inside startTimer()');
3330
var _duration = Duration(milliseconds: 2000);
3431
return Timer(_duration, navigate);
3532
}
3633

3734
navigate() async {
38-
print('inside navigate()');
39-
4035
SharedPreferences preferences = await SharedPreferences.getInstance();
4136

4237
print('inside if');

pubspec.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -30,30 +30,25 @@ dependencies:
3030
# A composable, Future-based library for making HTTP requests.
3131
http: ^0.12.1
3232

33-
# The following adds the launcher icon support to your application.
34-
# run below mentioned commands to generate launcher icons
35-
# flutter packages get
36-
# flutter packages pub run flutter_launcher_icons:main
37-
flutter_launcher_icons: ^0.7.5
38-
3933
# Flogs, a powerful logging framework
4034
f_logs: ^1.2.2
4135

4236
# MobX is a library for reactively managing the state of your applications. Use the power of
4337
# observables, actions, and reactions to supercharge your Dart and Flutter apps.
4438
mobx: ^1.2.1+1
4539
flutter_mobx: ^1.1.0+1
46-
mobx_codegen: ^1.1.0+1
4740

4841
# An helper to easily exposes a value using InheritedWidget without having to write one.
49-
provider: ^4.3.0
42+
provider: ^4.3.1
5043

5144
# String validation and sanitization for Dart. Dart 2-compatible version of validator
5245
validators: ^2.0.1
5346

5447
# A powerful Http client for Dart
5548
dio: 3.0.9
5649

50+
# A flexible widget for user notification. Customize your text, button, duration, animations
51+
# and much more. For Android devs, it is made to replace Snackbars and Toasts.
5752
flushbar: ^1.10.4
5853

5954
# Material Dialog
@@ -67,15 +62,20 @@ dependencies:
6762
ref: 7c3cbf6
6863

6964
dependency_overrides:
70-
source_gen: 0.9.5
65+
source_gen: 0.9.6
7166
analyzer: ^0.39.12
7267
intl: ^0.16.1
7368

74-
7569
dev_dependencies:
7670
flutter_test:
7771
sdk: flutter
7872

73+
# The following adds the launcher icon support to your application.
74+
# run below mentioned commands to generate launcher icons
75+
# flutter packages get
76+
# flutter packages pub run flutter_launcher_icons:main
77+
flutter_launcher_icons: ^0.7.5
78+
mobx_codegen: ^1.1.0+1
7979
json_serializable: ^3.3.0
8080
build_runner: ^1.10.0
8181
inject_generator:

0 commit comments

Comments
 (0)