An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix: mobile cursor, check null (#8481)
fufesouf17e17a6b992
diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dartindex f86d35a1c..819ba6c96 100644--- a/flutter/lib/mobile/pages/remote_page.dart+++ b/flutter/lib/mobile/pages/remote_page.dart@@ -938,9 +938,13 @@ class CursorPaint extends StatelessWidget {}final image = m.image ?? preDefaultCursor.image;+ if (image == null) {+ return Offstage();+ }+final minSize = 24.0;double mins =- minSize / (image!.width > image.height ? image.width : image.height);+ minSize / (image.width > image.height ? image.width : image.height);double factor = 1.0;if (s < mins) {factor = s / mins;