[view] fix: displaying initial warnings related to supported technologies even when they are not enabled or have the required dependencies

This commit is contained in:
Vinicius Moreira
2021-11-09 12:47:13 -03:00
parent d68bf1e53d
commit 0a9133068e
7 changed files with 22 additions and 33 deletions

View File

@@ -517,8 +517,8 @@ class FlatpakManager(SoftwareManager):
return updates
def list_warnings(self, internet_available: bool) -> List[str]:
return []
def list_warnings(self, internet_available: bool) -> Optional[List[str]]:
pass
def list_suggestions(self, limit: int, filter_installed: bool) -> List[PackageSuggestion]:
cli_version = flatpak.get_version()