mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
fix: using normal status to signal unread messages in order to avoid BT overlap bug
This commit is contained in:
@ -300,6 +300,11 @@ class View(object):
|
||||
self.set('status', self._voice.on_handshakes(new_shakes))
|
||||
self.update()
|
||||
|
||||
def on_unread_messages(self, count, total):
|
||||
self.set('face', faces.EXCITED)
|
||||
self.set('status', self._voice.on_unread_messages(count, total))
|
||||
self.update()
|
||||
|
||||
def on_rebooting(self):
|
||||
self.set('face', faces.BROKEN)
|
||||
self.set('status', self._voice.on_rebooting())
|
||||
|
Reference in New Issue
Block a user