feat: enhance admin and profile repositories with token handling; update dropdown initial values in various screens
This commit is contained in:
@@ -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)',
|
||||
|
||||
Reference in New Issue
Block a user