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.
1 parent 4478ad7 commit acff8e4Copy full SHA for acff8e4
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