diff --git a/lib/vanila/framework/ui/game_version_dropdown.dart b/lib/vanila/framework/ui/game_version_dropdown.dart index 500800b..8738939 100644 --- a/lib/vanila/framework/ui/game_version_dropdown.dart +++ b/lib/vanila/framework/ui/game_version_dropdown.dart @@ -13,10 +13,11 @@ class GameVersionDropdown extends StatelessWidget { listener: (_, __) {}, builder: (_, state) => DropdownMenu( + initialSelection: state.selectedGameVersion, enabled: state.gameVersions.isNotEmpty, requestFocusOnTap: false, expandedInsets: EdgeInsets.zero, - label: const Text(Strings.fieldGameVersion), + label: const Text('${Strings.fieldGameVersion} *'), onSelected: (value) { if (value != null) { context.read().add(VanilaGameVersionSelectedEvent(value)); diff --git a/test/widget_test.dart b/test/widget_test.dart deleted file mode 100644 index 2a2b819..0000000 --- a/test/widget_test.dart +++ /dev/null @@ -1,8 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility in the flutter_test package. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -void main() {}