[snap] fix: not showing 'API is out' popup when there is no internet connection

This commit is contained in:
Vinicius Moreira
2019-10-24 14:52:25 -03:00
parent 97fe290bff
commit c323ed125b
6 changed files with 15 additions and 11 deletions

View File

@@ -213,8 +213,9 @@ class SoftwareManager(ABC):
pass
@abstractmethod
def list_warnings(self) -> List[str]:
def list_warnings(self, internet_available: bool) -> List[str]:
"""
:param internet_available
:return: a list of warnings to be shown to the user
"""
pass