mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 06:24: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()
|
return self.get_default_icon_path()
|
||||||
|
|
||||||
def is_application(self) -> bool:
|
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):
|
def _name_starts_with(self, words: set):
|
||||||
for word in words:
|
for word in words:
|
||||||
|
|||||||
Reference in New Issue
Block a user