Commit Graph

853 Commits

Author SHA1 Message Date
Roland Geider
0ff425ca1c Update pubspec.lock 2021-10-16 12:25:03 +02:00
Github-actions
b42ad21464 Automatic linting 2021-10-14 09:02:32 +00:00
Roland Geider
4c4e0bd639 Merge pull request #102 from AxelBlaz3/master
Fix error dialogs not showing up in auth screen
2021-10-14 11:00:49 +02:00
SMilohanic
af7d5b3562 Translated using Weblate (Croatian)
Currently translated at 100.0% (149 of 149 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2021-10-14 10:20:23 +02:00
AxelBlaz3
fd0f9a9b72 Update AUTHORS.md
Signed-off-by: AxelBlaz3 <karthikgaddam4@gmail.com>
2021-10-14 13:40:27 +05:30
AxelBlaz3
8228b42bb2 Merge branch 'master' of https://github.com/AxelBlaz3/flutter 2021-10-14 09:08:54 +05:30
AxelBlaz3
1b92b073ca Display errors in login page
Now the app shows the reason why the login failed to the user.

Why this happened?
There's a 'Consumer' at the top most widget (MaterialApp) which gets rebuild everytime during logout and login. We don't need to notify listeners and rebuild the MaterialApp widget when logging out (cleaning up old data) during login. By doing so, context is in place and dialog appears. If the whole MaterialApp rebuilds, the old context is gone and a new context is given to all the widgets, which is where the issue arises and the dialog uses old context (which doens't exist in the first place).

Signed-off-by: AxelBlaz3 <karthikgaddam4@gmail.com>
2021-10-14 08:51:18 +05:30
Github-actions
3303226374 Automatic linting 2021-10-13 15:48:35 +00:00
Roland Geider
b25c4d09ab Update pubspec.lock 2021-10-13 17:46:54 +02:00
Roland Geider
4ad5263834 Merge branch 'better-linting-rules-1' 2021-10-13 17:45:59 +02:00
Github-actions
66dd80a1a2 Automatic linting 2021-10-13 15:43:52 +00:00
SMilohanic
25c1f7f368 Translated using Weblate (Croatian)
Currently translated at 88.4% (130 of 147 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2021-10-13 17:42:13 +02:00
Roland Geider
092d64cfae Merge remote-tracking branch 'origin/master' 2021-10-13 17:41:43 +02:00
Roland Geider
188158e5d6 Merge branch 'sandimilohanic_master' 2021-10-13 17:40:46 +02:00
SMilohanic
24f411c63b Added translation using Weblate (Croatian) 2021-10-13 16:11:50 +02:00
Roland Geider
9e53c387fd Small changes to update text 2021-10-13 14:30:20 +02:00
Sandi Milohanić
b484a955cf Removed button Close 2021-10-12 18:47:01 +02:00
Sandi Milohanić
ee3df1bada #29 - Add minimum required server version 2021-10-12 18:43:45 +02:00
Roland Geider
ca4e902e07 Merge branch 'master' into better-linting-rules-1 2021-10-12 15:11:43 +02:00
Roland Geider
729c7e8908 Merge pull request #97 from TaarnStar/master
Allow to delete workout log entries
2021-10-12 15:07:32 +02:00
Roland Geider
17ee3f6ee1 Translated using Weblate (Spanish)
Currently translated at 93.1% (137 of 147 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2021-10-11 21:04:48 +02:00
Roland Geider
669f8f5eab Translated using Weblate (German)
Currently translated at 97.2% (143 of 147 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-10-11 21:04:47 +02:00
Marvin M
505edda762 Merge branch 'master' into better-linting-rules-1 2021-10-11 08:57:03 +02:00
Roland Geider
c17076005c Remove background color, change was committed by mistake 2021-10-10 19:25:12 +02:00
Github-actions
a2943519e4 Automatic linting 2021-10-10 17:18:45 +00:00
Roland Geider
67ce615d06 Use rive animation during initial loading
See #99
2021-10-10 19:15:43 +02:00
Roland Geider
adb5b6317e If no wger API key is present launch a browser so they can register manually 2021-10-10 19:15:43 +02:00
Roland Geider
18265bde39 Build with 2.2 flutter version 2021-10-10 19:15:43 +02:00
Marko Milosevic
b31a480b45 Added helper for delete dilaog (currently only for log delete) 2021-10-10 16:26:51 +02:00
J. Lavoie
e2a61aeff8 Translated using Weblate (French)
Currently translated at 100.0% (147 of 147 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2021-10-09 18:04:53 +02:00
J. Lavoie
e6cbd6fecc Translated using Weblate (Italian)
Currently translated at 85.7% (126 of 147 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2021-10-09 18:04:52 +02:00
Marvin M
6fac7455c5 Merge branch 'master' into better-linting-rules-1 2021-10-09 00:05:45 +02:00
Marvin M
261b7f3e8d Update analysis_options.yaml 2021-10-08 15:29:18 +02:00
Marvin M
f3c45e74a6 Update analysis_options.yaml 2021-10-08 15:29:03 +02:00
Marvin M
2fb9737901 camel_case_types
statics can't be private
2021-10-08 15:28:19 +02:00
Marvin M
32a306f75a prefer_typing_uninitialized_variables 2021-10-08 15:26:06 +02:00
Marvin M
2bc2d472d0 unnecessary_await_in_return 2021-10-08 15:11:45 +02:00
Roland Geider
a534e323dd Merge pull request #94 from sandimilohanic/master
Consistenly display nutritional values
2021-10-08 13:55:51 +02:00
Sandi Milohanić
bed7da48c6 New language keys have been added for some short names of macronutrients (energy, fats, carbohydrates, proteins) 2021-10-08 13:14:02 +02:00
Roland Geider
77c9dfef9d Merge pull request #99 from himikat89/animations
Add files via upload
2021-10-08 11:25:23 +02:00
himikat89
1addb3d197 Add files via upload
Added the logo animation - loading screen. Artboard name is 'wger logo', it's 300x300 px . There are two animations in the file: 'idle_loop' and 'idle_loop2'
2021-10-07 20:10:49 +01:00
Marvin M
1e8080cc02 always_declare_return_types 2021-10-07 20:43:55 +02:00
Marvin M
9d479e89b0 const_constructors
info: Prefer const with constant constructors. prefer_const_constructors
2021-10-07 20:40:09 +02:00
Marko Milosevic
48063634cc Fixed 100 characters limit in code 2021-10-07 19:58:57 +02:00
Marvin M
e5a6d930cb Minor changes 2021-10-07 19:58:56 +02:00
Marvin M
923b44ba97 Marked as '@immutable'
This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: WorkoutForm._plan
2021-10-07 19:58:40 +02:00
Roland Geider
4cfd5d2a7b Merge pull request #96 from infiniteoverflow/loadingbug
Fixed Infinite loader bug
2021-10-07 19:52:50 +02:00
Marko Milosevic
d8b984759e Added myself to AUTHORS.md, put 100 characters limit in settings.json 2021-10-07 19:52:24 +02:00
Marko Milosevic
91ebe6ce04 Removed the hardcoded options for autologin 2021-10-07 19:40:19 +02:00
Marko Milosevic
88f1f200b1 Added the option to delete workout log entries 2021-10-07 19:37:16 +02:00