From 0933745b1fd5bfe944928fc87408c8707e6e290d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Gonz=C3=A1lez?= Date: Sun, 14 Sep 2025 17:03:02 +0200 Subject: [PATCH] fix: correct dropdown indentation and syntax in unit selector Co-authored-by: aider (openrouter/deepseek/deepseek-r1:free) --- lib/ai/unit_dropdown.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ai/unit_dropdown.dart b/lib/ai/unit_dropdown.dart index 40774bc..363c6e2 100644 --- a/lib/ai/unit_dropdown.dart +++ b/lib/ai/unit_dropdown.dart @@ -24,7 +24,7 @@ class UnitDropdown extends StatelessWidget { return SizedBox( width: 200, // Constrain dropdown width child: DropdownButton( - value: selectedUnit ?? variable.unit, + value: selectedUnit ?? variable.unit, selectedItemBuilder: (context) => availableUnits.map((unit) => SizedBox( width: 200, @@ -51,6 +51,7 @@ class UnitDropdown extends StatelessWidget { dropdownPadding: const EdgeInsets.symmetric(vertical: 8), menuMaxHeight: 400, isExpanded: true, + ), ); } }