We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b933672 + acff8e4 commit fc97d56Copy full SHA for fc97d56
src/Views/SystemView/SystemView.vala
@@ -36,8 +36,8 @@ public class Monitor.SystemView : Gtk.Box {
36
wrapper.add (network_view);
37
wrapper.add (storage_view);
38
39
- foreach (var gpu in resources.gpu_list) {
40
- if (gpu.name.contains ("Intel") || gpu.name.contains ("nVidia")) {
+ foreach (IGPU gpu in resources.gpu_list) {
+ if (gpu is GPUIntel || gpu is GPUNvidia) {
41
wrapper.add (build_no_support_label (gpu.name));
42
} else {
43
var gpu_view = new SystemGPUView (gpu);
0 commit comments