Roland Geider
b64458603f
Rename further occurrences of "exercise base" to just "exercise"
2023-12-26 21:38:07 +01:00
Roland Geider
65ba2275ae
Run "dart format --line-length=100 ." to make the diff smaller
2023-12-23 16:40:05 +01:00
Abhishek Saini
c69c639fac
fix(drift): built a model for exercise and fixes in fromSql type converter
2023-12-23 14:28:38 +05:30
Roland Geider
c514842b59
Lint the code with a line length of 100
...
This makes it easier to understand the diffs
2023-11-16 21:36:21 +01:00
Abhishek Saini
582bc611a4
feat(drift-database): Shifted from shared prefs to drift for Exercises
2023-11-16 22:34:40 +05:30
Roland Geider
f68afd91fd
Rename exercise object to translation
...
This is what they are now anyway and makes it more clear
2023-02-05 21:24:28 +01:00
Roland Geider
a004192ed3
Correctly pass the base ID to render log charts
...
See https://github.com/wger-project/wger/issues/1180
2022-11-29 17:25:45 +01:00
amannegi
4b3e067a52
Modified Error Dialog and Added App Compatibility check on login/signup #101
2022-10-10 21:56:42 +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
Roland Geider
ca4e902e07
Merge branch 'master' into better-linting-rules-1
2021-10-12 15:11:43 +02:00
Marko Milosevic
b31a480b45
Added helper for delete dilaog (currently only for log delete)
2021-10-10 16:26:51 +02:00
Marvin M
9d479e89b0
const_constructors
...
info: Prefer const with constant constructors. prefer_const_constructors
2021-10-07 20:40:09 +02:00
Marvin M
45a2a5f857
Fixes pt 1
2021-10-01 17:18:17 +02:00
Roland Geider
8543652581
Merge branch 'master' into feature/measurements
...
# Conflicts:
# lib/screens/dashboard.dart
# test/base_provider_test.mocks.dart
# test/gallery_screen_test.mocks.dart
# test/nutritional_plan_form_test.mocks.dart
# test/workout_form_test.mocks.dart
# test/workout_set_form_test.mocks.dart
2021-09-07 17:03:15 +02:00
Patrick Witter
3dc32259de
Changed max-line to 100
2021-08-30 15:05:14 -05:00
Patrick Witter
b53551c753
Added dialog to show user server-side errors
2021-08-29 15:12:42 -05:00
ton-An
19445c36a2
(Measurements) Added Equatable + Refactored
...
(MeasurementProvider)
- Passing in the WgerBaseProvider instead of extending with it
- Re-written tests
- Added the fixture reader to make test file less crowded
(Measurement Models)
- Added Equatable
- Re-written tests
2021-08-22 18:07:47 +02:00
Github-actions
c877e436b0
Automatic linting
2021-06-22 21:10:15 +00:00
Github-actions
7492b53c67
Automatic linting
2021-06-20 13:09:24 +00:00
Roland Geider
b915c764ef
Don't check AppLocalizations for null values
...
This is not needed in flutter 2.2 anymore
2021-05-19 11:50:43 +02:00
Roland Geider
cceefdf397
Use material translations for common words
2021-04-30 18:51:38 +02:00
Roland Geider
ad7507c8b7
Update license header as well
2021-04-13 10:28:15 +02:00
Roland Geider
ecd2773a87
Upgrade packages and move application to null safety
2021-03-25 22:20:16 +01:00
Roland Geider
9f1332549d
I18n more confirmation messages
2021-03-17 12:50:59 +01:00
Roland Geider
d8fe89ba56
Move translations to new i18n approach
2021-03-10 23:32:23 +01:00
Roland Geider
ce3eff0304
Accept more exception errors from the API
2021-02-18 23:17:41 +01:00
Roland Geider
e9c9ae93d6
Allow users to register via the app
2021-02-15 22:27:06 +01:00
Roland Geider
cbfaa67c1d
Move common code to base provider class
2020-12-21 13:16:40 +01:00
Roland Geider
1c9d0ab7f6
Add copyright notice to all files
2020-12-06 17:14:50 +01:00
Roland Geider
cc30b3d9ce
Rename exception to avoid name collisions
2020-12-06 17:03:12 +01:00
Roland Geider
1d5e61552f
Improvements to weight edit form
2020-12-06 14:55:41 +01:00
Roland Geider
f84ddcad78
Show error message when adding weight entries doesn't work
2020-12-05 12:52:00 +01:00