all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Shan Shaji <s.shaji@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve_flutter_frontend] fix: ios: update welcome screen text and add aSPICE client app store link
Date: Wed, 19 Nov 2025 15:45:34 +0100	[thread overview]
Message-ID: <20251119144534.90240-1-s.shaji@proxmox.com> (raw)

On the welcome screen there was a link which takes the users to the play
store to download the Opaque app. However for iOS the link needs to be
different. Update the links to fix the issue.

Also we do support VNC through noVNC so updated the text as well.

Signed-off-by: Shan Shaji <s.shaji@proxmox.com>
---
 lib/utils/links.dart                                |  3 +++
 lib/widgets/firstWelcomeScreen/pve_welcome_faq.dart | 11 ++++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/lib/utils/links.dart b/lib/utils/links.dart
index 3c1797e..22bc598 100644
--- a/lib/utils/links.dart
+++ b/lib/utils/links.dart
@@ -20,4 +20,7 @@ class Links {
       'https://pve.proxmox.com/wiki/Proxmox_VE_Mobile_Companion_Data_Protection');
   static final bugzillaUri =
       Uri.parse('https://bugzilla.proxmox.com/enter_bug.cgi?product=pve');
+  static final aSpiceClient = Uri.parse(
+    "https://apps.apple.com/app/id1560593107",
+  );
 }
diff --git a/lib/widgets/firstWelcomeScreen/pve_welcome_faq.dart b/lib/widgets/firstWelcomeScreen/pve_welcome_faq.dart
index d1eb9d0..b34c4f5 100644
--- a/lib/widgets/firstWelcomeScreen/pve_welcome_faq.dart
+++ b/lib/widgets/firstWelcomeScreen/pve_welcome_faq.dart
@@ -1,3 +1,5 @@
+import 'dart:io';
+
 import 'package:flutter/material.dart';
 import 'package:url_launcher/url_launcher.dart';
 import 'package:pve_flutter_frontend/widgets/firstWelcomeScreen/pve_welcome_common.dart';
@@ -37,19 +39,22 @@ class PveWelcomePageFAQ extends StatelessWidget {
           ),
           const PveAnswer(
               text:
-                  "Spice is currently supported. We plan to integrate VNC in the future."),
+                  "Spice is currently supported, and we also support VNC through noVNC." ),
           const PveQuestion(text: "Which Spice client works?"),
           const PveAnswer(
               text:
                   'Currently only the following 3rd party Spice client works:'),
           Center(
             child: OutlinedButton(
-              onPressed: () => {launchUrl(Links.opaqueApp)},
+              onPressed: () {
+                final link = Platform.isIOS ? Links.aSpiceClient : Links.opaqueApp;
+                launchUrl(link);
+              },
               style: OutlinedButton.styleFrom(
                 side: const BorderSide(color: ProxmoxColors.supportGrey),
                 foregroundColor: Colors.white,
               ),
-              child: const Text('Opaque'),
+              child: Text(Platform.isIOS ? "aSPICE Pro" : "Opaque"),
             ),
           ),
         ],
-- 
2.50.1



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


                 reply	other threads:[~2025-11-19 14:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251119144534.90240-1-s.shaji@proxmox.com \
    --to=s.shaji@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal