using SearchResult

This commit is contained in:
Vinicius Moreira
2019-08-27 15:27:45 -03:00
parent 040cdc9505
commit 4cc65256ff
2 changed files with 10 additions and 10 deletions

View File

@@ -189,8 +189,8 @@ class SearchApps(AsyncAction):
if self.word:
res = self.manager.search(self.word)
apps_found.extend(res['installed'])
apps_found.extend(res['new'])
apps_found.extend(res.installed)
apps_found.extend(res.new)
self.notify_finished(apps_found)
self.word = None