Type hints

This commit is contained in:
kramo
2023-08-16 16:12:50 +02:00
parent 57a7c98f7a
commit e67977287d
3 changed files with 10 additions and 13 deletions

View File

@@ -166,11 +166,8 @@ class Game(Gtk.Box):
if self.win.navigation_view.get_visible_page() == self.win.details_page:
self.win.navigation_view.pop()
self.create_toast(
# The variable is the title of the game
_("{} removed").format(GLib.markup_escape_text(self.name)),
"remove",
)
# The variable is the title of the game
self.create_toast(_("{} removed").format(self.name), "remove")
def set_loading(self, state: int) -> None:
self.loading += state