Fix hiding game toast bug

This commit is contained in:
kramo
2023-04-15 22:02:04 +02:00
parent e3411b8e7e
commit 43ec0e1a1f
2 changed files with 7 additions and 2 deletions

View File

@@ -501,7 +501,9 @@ class CartridgesWindow(Adw.ApplicationWindow):
return
if undo == "hide":
self.get_application().on_hide_game_action(None, game_id=game_id)
self.get_application().on_hide_game_action(
None, game_id=game_id, toast=False
)
elif undo == "remove":
data = get_games(self, [game_id])[game_id]