[flatpak] fix -> not displaying the runtimes icons on the summary window

This commit is contained in:
Vinicius Moreira
2020-10-01 16:40:44 -03:00
parent f4b6da408f
commit f8276024c0
2 changed files with 6 additions and 0 deletions

View File

@@ -120,3 +120,7 @@ class FlatpakApplication(SoftwarePackage):
def __eq__(self, other):
if isinstance(other, FlatpakApplication):
return self.id == other.id and self.installation == other.installation and self.branch == other.branch
def get_disk_icon_path(self) -> str:
if not self.runtime:
return super(FlatpakApplication, self).get_disk_icon_path()