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

@@ -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]: