feat: enhance admin and profile repositories with token handling; update dropdown initial values in various screens

This commit is contained in:
Nils-Johan Gynther
2026-04-23 21:34:08 +02:00
parent 111d196403
commit b589f7415d
15 changed files with 63 additions and 36 deletions
@@ -51,7 +51,7 @@ class _PantryScreenState extends ConsumerState<PantryScreen> {
),
const SizedBox(height: 12),
DropdownButtonFormField<String>(
value: selectedUnit,
initialValue: selectedUnit,
isExpanded: true,
decoration: const InputDecoration(
labelText: 'Enhet',
@@ -72,7 +72,7 @@ class _PantryScreenState extends ConsumerState<PantryScreen> {
),
const SizedBox(height: 12),
DropdownButtonFormField<String>(
value: selectedLocation,
initialValue: selectedLocation,
isExpanded: true,
decoration: const InputDecoration(
labelText: 'Plats (valfri)',