Commit Graph
39 Commits
Author SHA1 Message Date
Roland Geider fc881c4929 Properly handle timezones
This should (hopefully 🤞) take care of problems saving entries with timezone
information.
2025-11-18 16:30:52 +01:00
Roland Geider f6a073766a Improve and consolidate the image error handler 2025-11-10 20:23:52 +01:00
Roland Geider bc6a5ebdbf Make common widget for when an image format is not supported 2025-10-16 22:03:40 +02:00
Max Pylypenko 1da04e29d2 avif: updated images to display generic error for non supported image types + translations 2025-10-13 00:14:49 +07:00
Max Pylypenko 51c41c800e avif: updated gallery widget to display message for non supported avif image type 2025-10-12 00:46:37 +07:00
Roland Geider 93a11a16e4 Recreate generated files and reformat the repo
Seems the default dart formatting rules changed recently, and this was causing
huge diffs in branches
2025-10-09 17:39:02 +02:00
Roland Geider fea9d89621 Refactor widget so it's easier to test 2025-03-18 21:13:28 +01: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 a35336f57c Allow editing the fit in week toggle as well as start and end dates 2024-11-12 13:31:56 +01:00
Dieter Plaetinck 11ee38c03d dart fix --apply 2024-06-20 15:47:55 +03:00
Dieter Plaetinck 6e1d3f9568 dart format --line-length=100 .
(except auto generated files)
2024-06-20 15:44:35 +03:00
Dieter Plaetinck 97a4af3b4e manual fixes: memory leaks due to not disposing 2024-06-07 14:59:00 +03:00
Dieter Plaetinck 420f9ae16d dcm fix --only-rules=avoid-inferrable-type-arguments lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck 8db1a7c960 dcm fix --only-rules=unnecessary-trailing-comma lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck 7f74bff32c dcm fix --only-rules=prefer-trailing-comma lib 2024-06-07 14:59:00 +03:00
Miroslav Mazel d445283cf7 Different fonts + tweaked icons 2023-11-11 12:33:19 +01:00
Roland Geider 1bd2109fec Use same order for parameters 2023-04-23 22:23:06 +02:00
Roland Geider 80ec0e80fb Start moving to material 3
Also dark mode at last
2023-04-22 13:38:13 +02:00
Freddy Cunningham 5e17cdee1a Create text prompt for empty screens [issue 306] 2023-04-17 10:49:04 +01:00
Roland Geider bf7e2e8956 Move platform check to helper
Also, use TargetPlatform since it it better suited for tests (and seems to
be now the recommended way of checking this for UI elements)
2023-04-15 12:17:08 +02:00
Miroslav Mazel e470b8809d Platform conditions for image_picker library 2023-03-22 11:55:36 +01:00
Roland Geider aa62c27cdb Add refresh indicators to the entry lists
This allows the user to manually trigger an update if desired

See wger-project/wger/issues/1253
2023-02-09 18:08:31 +01:00
Aaliya Ali 504b4a76c9 Add MasonryGridView to the Gallery 2022-10-01 23:15:19 +05:30
Roland Geider f0195ab235 Update gallery after adding or deleting a picture
Fixes #128
2022-02-03 11:48:49 +01: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 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
Marvin M 45a2a5f857 Fixes pt 1 2021-10-01 17:18:17 +02:00
Roland Geider c8d1d1ad84 Replace getImage with pickImage, was deprecated 2021-09-01 15:46:31 +02:00
Roland Geider 0394922dfc Prevent keyboard from appearing when selecting a date in the gallery 2021-09-01 15:45:56 +02: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 0b13e8260e Give the add set form a cleanup 2021-05-18 15:00:40 +02:00
Roland Geider 699ea87c5f Add some tests for the picture gallery 2021-05-11 13:44:04 +02:00
Roland Geider 123f64d0eb Add some tests for the picture gallery 2021-05-11 13:18:20 +02:00
Roland Geider 4728360149 Move gallery to own provider
Since this has its own icon in the main navigation
2021-05-11 11:48:28 +02:00
Roland Geider 4cb473ebf3 Allow editing existing image entries 2021-05-10 13:24:51 +02:00
Roland Geider 3c96476bdb Show bigger version of image when clicking on it 2021-05-10 00:01:32 +02:00
Roland Geider 8839ffa93f Some refactoring of the gallery form 2021-05-08 20:52:03 +02:00
Roland Geider edbb49e688 Allow submitting images to the gallery 2021-05-08 12:13:34 +02:00
Roland Geider 431f749674 Start adding user gallery 2021-05-06 14:02:04 +02:00