Updated for text

This commit is contained in:
Dimitris Zlatanidis 2024-03-25 18:10:53 +02:00
parent 39a1bab964
commit dbe0a7e510

View file

@ -134,6 +134,8 @@ class RemovePackages(Configs):
choices.extend([(package, installed_version, True, f'Package: {installed_package}')])
text: str = f'There are {len(choices)} dependencies:'
if upgrade:
text: str = f'There are {len(choices)} packages:'
code, packages = self.dialogbox.checklist(text, title, height, width, list_height, choices)
os.system('clear')
return packages