This commit is contained in:
parent
23de275e11
commit
21af9be9a8
@ -66,10 +66,9 @@ class _AddMountScreenState extends State<AddMountScreen> {
|
||||
const Text('Provider Type'),
|
||||
const SizedBox(width: constants.padding),
|
||||
DropdownButton<String>(
|
||||
autofocus: true,
|
||||
value: _mountType,
|
||||
onChanged: (mountType) {
|
||||
_handleChange(mountType ?? '');
|
||||
},
|
||||
onChanged: (mountType) => _handleChange(mountType ?? ''),
|
||||
items:
|
||||
constants.providerTypeList
|
||||
.map<DropdownMenuItem<String>>((item) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user