mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-06 05:53:12 +00:00
remove unused onSubmitted
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
1 parent
69f643447d
commit
ce300aa75f
1 file changed
-12
@@ -271,18 +271,6 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
onChanged: (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) {
|
||||
|
||||
Reference in new issue
Block a user