Skip to content

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

add border radius

Sahil Yeole9e2c9cbba93f
diff --git a/flutter/lib/desktop/pages/connection_page.dart b/flutter/lib/desktop/pages/connection_page.dart
index 944fd0370..db0aaf801 100644
--- a/flutter/lib/desktop/pages/connection_page.dart
+++ b/flutter/lib/desktop/pages/connection_page.dart
@@ -346,12 +346,14 @@ class _ConnectionPageState extends State<ConnectionPage>
maxHeight += 50; };
return Align(
alignment: Alignment.topLeft,
- child: Material(
+ child: ClipRRect(
+ borderRadius: BorderRadius.circular(5),
+ child: Material(
elevation: 4,
child: ConstrainedBox(
constraints: BoxConstraints(
maxHeight: maxHeight,
- maxWidth: 320,
+ maxWidth: 319,
),
child: peers.isEmpty && isPeersLoading
? Container(
@@ -371,7 +373,7 @@ class _ConnectionPageState extends State<ConnectionPage>
),
),
),
- ),
+ )),
);
},
)