[pve-devel] [PATCH pve_flutter_frontend v5 1/3] ui: ios: enable noVNC console support
Shan Shaji
s.shaji at proxmox.com
Mon Aug 18 12:01:32 CEST 2025
The noVNC console was disabled in iOS and was only available in android
To fix the issue, add additional platform check for iOS and enabled the
noVNC console option.
Signed-off-by: Shan Shaji <s.shaji at proxmox.com>
---
lib/widgets/pve_console_menu_widget.dart | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/widgets/pve_console_menu_widget.dart b/lib/widgets/pve_console_menu_widget.dart
index 473595d..6de2c0b 100644
--- a/lib/widgets/pve_console_menu_widget.dart
+++ b/lib/widgets/pve_console_menu_widget.dart
@@ -97,7 +97,7 @@ class PveConsoleMenu extends StatelessWidget {
}
},
),
- if (Platform.isAndroid) // web_view is only available for mobile :(
+ if (Platform.isAndroid || Platform.isIOS) // web_view is only available for mobile :(
ListTile(
title: const Text(
//type == "qemu" ? "noVNC Console" : "xterm.js Console",
@@ -106,7 +106,6 @@ class PveConsoleMenu extends StatelessWidget {
),
subtitle: const Text("Open console view"),
onTap: () async {
- if (Platform.isAndroid) {
if (['qemu', 'lxc'].contains(type)) {
SystemChrome.setEnabledSystemUIMode(
SystemUiMode.immersive);
@@ -134,9 +133,6 @@ class PveConsoleMenu extends StatelessWidget {
]);
});
}
- } else {
- print('not implemented for current platform');
- }
},
),
],
--
2.50.1
More information about the pve-devel
mailing list