Include game name in the tray notification and mouse-over title

This commit is contained in:
DevilXD committed 2022-11-30 11:51:49 +01:00
1 parent 36597d9a4a
commit 323de6ed59
2 files changed
+17 -12

No files matched your search

+2 -2
View File
@@ -1129,8 +1129,8 @@ class Twitch:
drop.display()
if mined:
claim_text = (
f"{drop.rewards_text()} "
f"({campaign.claimed_drops}/{campaign.total_drops})"
f"{campaign.game.name}\n"
f"{drop.rewards_text()} ({campaign.claimed_drops}/{campaign.total_drops})"
)
self.gui.print(_("status", "claimed_drop").format(drop=claim_text))
self.gui.tray.notify(claim_text, _("gui", "tray", "notification_title"))