[gem.appimage] fix: info button remains 'clickable' after an imported Appimage is uninstalled

This commit is contained in:
Vinicius Moreira
2021-08-23 14:25:09 -03:00
parent 8bfdf700d4
commit 895ec7c643
2 changed files with 3 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ class AppImage(SoftwarePackage):
return self.installed and not self.imported
def has_info(self):
return True
return self.installed if self.imported else True
def can_be_downgraded(self):
return self.installed and not self.imported