fix: flatpak dependency

This commit is contained in:
Vinicius Moreira
2019-08-06 15:46:40 -03:00
parent 05fc746922
commit 98140a98dc
2 changed files with 7 additions and 2 deletions

View File

@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [0.5.1]
### Fixes:
- flatpak dependency
## [0.5.0] - 2019-08-06
### Improvements
- search results sorting takes an average of 35% less time, reaching 60% in some scenarios

View File

@@ -181,8 +181,9 @@ class FlatpakManager(ApplicationManager):
return updates
def list_warnings(self) -> List[str]:
if not flatpak.has_remotes_set():
return [self.locale_keys['flatpak.notification.no_remotes']]
if flatpak.is_installed():
if not flatpak.has_remotes_set():
return [self.locale_keys['flatpak.notification.no_remotes']]
def list_suggestions(self, limit: int) -> List[FlatpakApplication]: