Fixed for remove deps

This commit is contained in:
Dimitris Zlatanidis 2023-03-06 23:35:56 +02:00
parent c2ab5ed142
commit 29ce34b09b

View file

@ -171,11 +171,13 @@ class ViewMessage(Configs):
for package in dependencies:
repo_ver: str = SBoQueries(package).version()
choices += [(package, repo_ver, True)]
inst_pkg: str = self.utils.is_package_installed(package, self.file_pattern)
choices += [(package, repo_ver, True, f'Removed: {inst_pkg}')]
text: str = f'There are {len(choices)} dependencies:'
code, tags = self.dialogbox.checklist(text, title, height, width, list_height, choices, dependencies)
code, tags = self.dialogbox.checklist(text, dependencies, title, height, width, list_height,
choices, True)
if not code:
return dependencies