Commit Graph

12 Commits

Author SHA1 Message Date
Roland Geider
136d0e0825 Extract some logic to their own widgets 2025-10-06 12:43:05 +02:00
Roland Geider
d85ee13ed9 Give users more control over the exercise cache
This allows users to manually refresh the cache and load all exercises
from the server.
2025-09-06 15:05:52 +02:00
Roland Geider
c28ec70fb6 Fix borked imports? 2025-03-29 14:50:41 +01:00
Roland Geider
47f6aa36d3 Formatting 2025-03-29 14:32:58 +01:00
Yashas H Majmudar
d31dc16bcf migration: migrated all instances of sharedPreferences to sharedPreferencesAsync for tests 2025-03-23 14:26:28 -04:00
Roland Geider
d071d143df Update flutter to 3.29
The translations are not stored in a synthetic package anymore, but the
files are just copied to a specific folder so it can be more easily imported

Also, flutter_barcode_scanner was replaced by simple_barcode_scanner since
the first hasn't been updated in 3 years and was already causing problems
for some time
2025-03-18 17:28:19 +01:00
Roland Geider
dad109d5bd Inject the shared preferences class for easier testing 2025-01-24 13:59:08 +01:00
Roland Geider
86f8b7ae35 Add a third option to the theme mode
This allows the user to use the system settings as well, and not always force
light or dark mode in the app. Also move the logic to the UserProvider and
do some light refactoring.
2025-01-23 23:22:50 +01:00
Roland Geider
906fa7257a Rename function 2024-09-29 11:45:31 +02:00
Roland Geider
72a68b4f59 Allow resetting the ingredient cache from the settings page 2024-09-29 11:25:14 +02:00
Dieter Plaetinck
66ced6ccc4 dcm fix --only-rules=prefer-trailing-comma lib test test_data integration_test 2024-09-18 16:00:43 +03:00
Roland Geider
e67d992385 Add (for now) simple settings page to reset the exercise cache
This should be expanded later to allow to re-fetch all available exercises, etc.
2024-01-11 22:13:11 +01:00