mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
@@ -434,7 +434,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
|
|||||||
!isCardClosed &&
|
!isCardClosed &&
|
||||||
bind.mainUriPrefixSync().contains('rustdesk')) {
|
bind.mainUriPrefixSync().contains('rustdesk')) {
|
||||||
final isToUpdate = (isWindows || isMacOS) && bind.mainIsInstalled();
|
final isToUpdate = (isWindows || isMacOS) && bind.mainIsInstalled();
|
||||||
String btnText = isToUpdate ? 'Update' : "Download';
|
String btnText = isToUpdate ? 'Update' : 'Download';
|
||||||
GestureTapCallback onPressed = () async {
|
GestureTapCallback onPressed = () async {
|
||||||
final Uri url = Uri.parse('https://rustdesk.com/download');
|
final Uri url = Uri.parse('https://rustdesk.com/download');
|
||||||
await launchUrl(url);
|
await launchUrl(url);
|
||||||
|
|||||||
Reference in New Issue
Block a user