[table] displaying a 'verified' green icon next to a verified publisher's name

This commit is contained in:
Vinicius Moreira
2019-10-29 14:57:47 -03:00
parent ec514b99d9
commit 7c4095b1fb
7 changed files with 95 additions and 8 deletions

View File

@@ -56,6 +56,9 @@ class SnapApplication(SoftwarePackage):
def get_disk_cache_path(self):
return super(SnapApplication, self).get_disk_cache_path() + '/installed/' + self.name
def is_trustable(self) -> bool:
return self.verified_publisher
def get_data_to_cache(self):
return {
"icon_url": self.icon_url,