Added ratchet info display to object details

This commit is contained in:
Mark Qvist 2024-09-07 22:29:30 +02:00
parent 5d586d26fc
commit e0e1540a94
4 changed files with 51 additions and 13 deletions

View file

@ -936,6 +936,12 @@ class SidebandApp(MDApp):
if self.conversations_view != None:
self.conversations_view.update()
if self.sideband.getstate("app.flags.new_ticket", allow_cache=True):
def cb(d):
self.sideband.message_router.reload_available_tickets()
self.sideband.setstate("app.flags.new_ticket", False)
Clock.schedule_once(cb, 1.5)
if self.sideband.getstate("wants.viewupdate.conversations", allow_cache=True):
if self.conversations_view != None:
self.conversations_view.update()