Skip to content

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

fix: build (#12483)

fufesou8899b9072552
diff --git a/flutter/lib/desktop/pages/desktop_home_page.dart b/flutter/lib/desktop/pages/desktop_home_page.dart
index b975e9c64..237691159 100644
--- a/flutter/lib/desktop/pages/desktop_home_page.dart
+++ b/flutter/lib/desktop/pages/desktop_home_page.dart
@@ -434,7 +434,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
!isCardClosed &&
bind.mainUriPrefixSync().contains('rustdesk')) {
final isToUpdate = (isWindows || isMacOS) && bind.mainIsInstalled();
- String btnText = isToUpdate ? 'Update' : "Download';
+ String btnText = isToUpdate ? 'Update' : 'Download';
GestureTapCallback onPressed = () async {
final Uri url = Uri.parse('https://rustdesk.com/download');
await launchUrl(url);