mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 00:13:01 +08:00
remove unused onSubmitted
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
69f643447d
commit
ce300aa75f
@ -271,18 +271,6 @@ class _ConnectionPageState extends State<ConnectionPage>
|
|||||||
onChanged: (v) {
|
onChanged: (v) {
|
||||||
_idController.id = v;
|
_idController.id = v;
|
||||||
},
|
},
|
||||||
onSubmitted: (s) {
|
|
||||||
if (s == '') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
final id = int.parse(s);
|
|
||||||
_idController.id = s;
|
|
||||||
onConnect();
|
|
||||||
} catch (_) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
));
|
));
|
||||||
},
|
},
|
||||||
optionsViewBuilder: (BuildContext context, AutocompleteOnSelected<Peer> onSelected, Iterable<Peer> options) {
|
optionsViewBuilder: (BuildContext context, AutocompleteOnSelected<Peer> onSelected, Iterable<Peer> options) {
|
||||||
|
Loading…
Reference in New Issue
Block a user