Removed win.games

This commit is contained in:
GeoffreyCoulaud
2023-07-01 02:56:40 +02:00
parent b3c2437618
commit 8d082ab158
5 changed files with 6 additions and 14 deletions

View File

@@ -64,7 +64,6 @@ class CartridgesWindow(Adw.ApplicationWindow):
hidden_search_entry = Gtk.Template.Child()
hidden_search_button = Gtk.Template.Child()
games = {}
game_covers = {}
toasts = {}
active_game = None
@@ -118,7 +117,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
def set_library_child(self):
child, hidden_child = self.notice_empty, self.hidden_notice_empty
for game in self.games.values():
for game in shared.store.games.values():
if game.removed or game.blacklisted:
continue
if game.hidden: