fix remote model

This commit is contained in:
dane madsen
2023-11-26 22:11:24 +10:00
parent a27678637d
commit 42c64b193d

View File

@@ -51,7 +51,7 @@ class _RemoteDropdownState extends State<RemoteDropdown> {
dropdownMenuEntries: dropdownEntries,
onSelected: (String? value) {
if (value != null) {
Provider.of<Model>(context, listen: false).parameters["remote_model"] = value;
Provider.of<Model>(context, listen: false).setParameter("remote_model", value);
}
},
width: 200,