Skip to content

Commit

Permalink
Provide fallback icon for firmware devices (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
meisenzahl committed Feb 9, 2021
1 parent c8eec39 commit 10768b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Interfaces/FwupdManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ public class About.FwupdManager : Object {
}

private async Fwupd.Device parse_device (GLib.HashTable<string, Variant> serialized_device) {
var device = new Fwupd.Device ();
var device = new Fwupd.Device () {
icon = "application-x-firmware"
};

serialized_device.@foreach ((key, val) => {
switch (key) {
Expand Down

0 comments on commit 10768b7

Please sign in to comment.