Roland Geider
475442e779
Consolidate locale handling logic
2026-05-18 09:40:12 +02:00
Pawel Haracz
822cedf9a4
feat(settings): add in-app language switcher
...
Adds a per-user language override in Settings that takes precedence over
the system locale, fixing #439 . Selecting "System default" clears the
override and falls back to the existing localeListResolutionCallback.
Also declares CFBundleLocalizations in the iOS Info.plist so iOS 16+ users
get the native per-app language picker (Settings → wger → Language) as an
alternative entry point.
Implementation mirrors the existing themeMode flow on UserProvider, with
the selected locale persisted in SharedPreferences under PREFS_USER_LOCALE
and matched against AppLocalizations.supportedLocales on load to preserve
script-bearing locales (zh_Hant, pt_BR, ...).
2026-05-16 15:31:34 +02:00
Madhav
3fd0de3257
Apply dart format
2026-03-12 22:48:21 +05:30
Roland Geider
92aee1228e
Properly filter hidden widgets 🙄
2026-01-19 16:39:06 +01:00
Roland Geider
f5a591a3b7
Add trophies to configurable dashboard lists
2026-01-17 14:01:17 +01:00
Roland Geider
b81331609a
Also allow changing the order of the dashboard widgets
...
This makes the behaviour more consistent and allows users to remove widgets
they won't be using, like the trophies
2026-01-17 13:43:28 +01:00
Roland Geider
5574f74a2f
Move dashboard visibility settings to own screen
...
This seems cleaner and can be opened from other places
2026-01-17 12:50:07 +01:00
Diya Hituvalli
c0d04cbb11
allow the users to hide / show all widgets in the home screen
2025-12-08 13:57:42 -05:00
Diya Hituvalli
9e24714cbd
Add user preference in settings to hide diet plan if not used
2025-11-19 14:32:02 -05: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
cce0b94edc
Cleanup
2025-05-23 18:44:29 +02:00
Roland Geider
0d36fe4bc3
Polish the add plate widget
2025-05-23 17:41:08 +02:00
Roland Geider
ac13381bcf
Some refactoring
2025-05-23 11:06:37 +02:00
Roland Geider
9934209b7c
Merge branch 'master' into fork/AyushJagaty/plate-46-calc
...
# Conflicts:
# AUTHORS.md
# ios/Podfile.lock
# lib/main.dart
# lib/providers/user.dart
# lib/widgets/workouts/gym_mode.dart
# test/nutrition/goldens/nutritional_plan_1_default_view.png
# test/nutrition/goldens/nutritional_plan_2_one_meal_with_ingredients.png
# test/nutrition/goldens/nutritional_plan_3_both_meals_with_ingredients.png
# test/routine/gym_mode_screen_test.dart
2025-05-22 15:27:39 +02:00
Yashas H Majmudar
39b50aef36
format: correct char length format
2025-03-24 11:53:04 -04:00
Yashas H Majmudar
529c63c92e
migration: migrated all instances of sharedPreferences to sharedPreferencesAsync
2025-03-23 14:26:05 -04:00
Roland Geider
58e7a52e3d
Use log levels when logging to console
2025-01-25 12:45:33 +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
sangharshdeveloper
ced268660b
#687 enhancement theme-customization
2025-01-12 20:48:31 +05:30
Ayush Sourav Jagaty
78eb620f6c
having issue in shared Preferences
2025-01-05 12:39:03 +05:30
Roland Geider
57e7464d2d
Some polishing
2023-02-06 22:31:35 +01:00
Roland Geider
6ee9aaee06
Rework user profile endpoint handling
...
Now it's not necessary anymore to pass the ID, we can do all actions on the
"list" URL
Fixes #141
2022-05-12 19:13:56 +02:00
Roland Geider
7b0f02e88f
Add user profile page
...
Closes #71
2022-05-12 15:28:26 +02:00