mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 04:44:15 +02:00
fix: snaps -> not retrieving API data while searching
This commit is contained in:
@@ -47,7 +47,7 @@ class SnapApplication(SoftwarePackage):
|
||||
return self.get_default_icon_path()
|
||||
|
||||
def is_application(self) -> bool:
|
||||
return self.has_apps_field is None or self.has_apps_field and self.name.lower() not in KNOWN_RUNTIME_NAMES
|
||||
return not self.installed or ((self.has_apps_field is None or self.has_apps_field) and self.name.lower() not in KNOWN_RUNTIME_NAMES)
|
||||
|
||||
def _name_starts_with(self, words: set):
|
||||
for word in words:
|
||||
|
||||
Reference in New Issue
Block a user