Skip to content

Commit

Permalink
- Attempted fix for #341
Browse files Browse the repository at this point in the history
  • Loading branch information
trigg committed Aug 14, 2024
1 parent e2ee444 commit e565225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discover_overlay/notification_overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def tick(self):
if message['time'] + self.text_time > now:
newlist.append(message)
self.content = newlist
# If the list is different than before
if oldsize != len(newlist):
# If there is still content to remove
if len(newlist) > 0 or oldsize != len(newlist):
self.set_needs_redraw()

def add_notification_message(self, data):
Expand Down

0 comments on commit e565225

Please sign in to comment.