Conversation list refactoring

This commit is contained in:
Mark Qvist 2025-10-29 02:08:27 +01:00
parent 3f0d91ecdb
commit 165f480d7e
2 changed files with 601 additions and 311 deletions

View file

@ -2704,11 +2704,10 @@ class SidebandApp(MDApp):
if not self.conversations_view:
self.conversations_view = Conversations(self)
for child in self.conversations_view.ids.conversations_scrollview.children:
self.conversations_view.ids.conversations_scrollview.remove_widget(child)
self.conversations_view.ids.conversations_scrollview.effect_cls = ScrollEffect
self.conversations_view.ids.conversations_scrollview.add_widget(self.conversations_view.get_widget())
# for child in self.conversations_view.ids.conversations_scrollview.children:
# self.conversations_view.ids.conversations_scrollview.remove_widget(child)
# self.conversations_view.ids.conversations_scrollview.effect_cls = ScrollEffect
# self.conversations_view.ids.conversations_scrollview.add_widget(self.conversations_view.get_widget())
self.root.ids.screen_manager.current = "conversations_screen"
if self.messages_view: