Fix get_removed logic

This commit is contained in:
kramo
2023-07-07 22:11:33 +02:00
parent fe5b85c79c
commit cf6b69619a

View File

@@ -92,7 +92,8 @@ class CartridgesWindow(Adw.ApplicationWindow):
def get_removed(source_id):
if all(
game.removed for game in shared.store.source_games[source_id].values()
game.removed or game.hidden or game.blacklisted
for game in shared.store.source_games[source_id].values()
):
return True
return False