File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
flutter/lib/desktop/pages Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -424,18 +424,18 @@ class _DesktopHomePageState extends State<DesktopHomePage>
424424 }
425425
426426 Widget buildHelpCards (String updateUrl) {
427- if (! bind.isCustomClient () &&
428- updateUrl.isNotEmpty &&
429- ! isCardClosed &&
430- bind.mainUriPrefixSync ().contains ('rustdesk' )) {
431- return buildInstallCard (
432- "Status" ,
433- "${translate ("new-version-of-{${bind .mainGetAppNameSync ()}}-tip" )} (${bind .mainGetNewVersion ()})." ,
434- "Click to download" , () async {
435- final Uri url = Uri .parse ('https://rustdesk.com/download' );
436- await launchUrl (url);
437- }, closeButton: true );
438- }
427+ // if (!bind.isCustomClient() &&
428+ // updateUrl.isNotEmpty &&
429+ // !isCardClosed &&
430+ // bind.mainUriPrefixSync().contains('rustdesk')) {
431+ // return buildInstallCard(
432+ // "Status",
433+ // "${translate("new-version-of-{${bind.mainGetAppNameSync()}}-tip")} (${bind.mainGetNewVersion()}).",
434+ // "Click to download", () async {
435+ // final Uri url = Uri.parse('https://rustdesk.com/download');
436+ // await launchUrl(url);
437+ // }, closeButton: true);
438+ // }
439439 if (systemError.isNotEmpty) {
440440 return buildInstallCard ("" , systemError, "" , () {});
441441 }
You can’t perform that action at this time.
0 commit comments