Skip to content

Commit fc97d56

Browse files
committed
Merge branch 'stsdc/libpci' into ryonakano/libpci-proposal
2 parents b933672 + acff8e4 commit fc97d56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/SystemView/SystemView.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public class Monitor.SystemView : Gtk.Box {
3636
wrapper.add (network_view);
3737
wrapper.add (storage_view);
3838

39-
foreach (var gpu in resources.gpu_list) {
40-
if (gpu.name.contains ("Intel") || gpu.name.contains ("nVidia")) {
39+
foreach (IGPU gpu in resources.gpu_list) {
40+
if (gpu is GPUIntel || gpu is GPUNvidia) {
4141
wrapper.add (build_no_support_label (gpu.name));
4242
} else {
4343
var gpu_view = new SystemGPUView (gpu);

0 commit comments

Comments
 (0)