Rename remove_new_version_notification.patch to removeNewVersionNotif.diff

This commit is contained in:
VenimK
2025-02-05 05:21:18 +01:00
committed by GitHub
parent b040aa8fc9
commit d78c1f7961

View File

@@ -0,0 +1,22 @@
diff --git a/flutter/lib/desktop/pages/desktop_home_page.dart b/flutter/lib/desktop/pages/desktop_home_page.dart
index ba724eed5..cb66cdaed 100644
--- a/flutter/lib/desktop/pages/desktop_home_page.dart
+++ b/flutter/lib/desktop/pages/desktop_home_page.dart
@@ -424,7 +424,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
}
Widget buildHelpCards(String updateUrl) {
- if (!bind.isCustomClient() &&
+ /*if (!bind.isCustomClient() &&
updateUrl.isNotEmpty &&
!isCardClosed &&
bind.mainUriPrefixSync().contains('rustdesk')) {
@@ -435,7 +435,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
final Uri url = Uri.parse('https://rustdesk.com/download');
await launchUrl(url);
}, closeButton: true);
- }
+ }*/
if (systemError.isNotEmpty) {
return buildInstallCard("", systemError, "", () {});
}