Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Merge branch 'master' into feat/autocomplete_mobile

Sahil Yeole70794c8eb5d3
diff --cc flutter/lib/desktop/pages/connection_page.dart
index 0aa47a375,272fd7c7b..ec74a8042
--- a/flutter/lib/desktop/pages/connection_page.dart
+++ b/flutter/lib/desktop/pages/connection_page.dart
@@@ -334,8 -331,12 +333,9 @@@ class _ConnectionPageState extends Stat
));
},
optionsViewBuilder: (BuildContext context, AutocompleteOnSelected<Peer> onSelected, Iterable<Peer> options) {
- double maxHeight = 0;
- for (var peer in options) {
- if (maxHeight < 200) {
- maxHeight += 50;
- }
- }
+ double maxHeight = options.length * 50;
+ maxHeight = maxHeight > 200 ? 200 : maxHeight;
++
return Align(
alignment: Alignment.topLeft,
child: ClipRRect(