This commit is contained in:
Mark Qvist 2022-12-21 00:43:10 +01:00
parent 0f04612e6c
commit 11a38e20a5

View File

@ -332,9 +332,6 @@ class SidebandApp(MDApp):
self.sideband.should_persist_data() self.sideband.should_persist_data()
if self.conversations_view != None: if self.conversations_view != None:
self.root.ids.conversations_scrollview.effect_cls = ScrollEffect self.root.ids.conversations_scrollview.effect_cls = ScrollEffect
# TODO: Check if we actually need this now that the bouncy
# scrolling bug has been eliminated
# self.sideband.setstate("wants.viewupdate.conversations", True)
self.root.ids.conversations_scrollview.scroll = 1 self.root.ids.conversations_scrollview.scroll = 1
RNS.log("App paused", RNS.LOG_DEBUG) RNS.log("App paused", RNS.LOG_DEBUG)
@ -355,9 +352,6 @@ class SidebandApp(MDApp):
self.app_state = SidebandApp.ACTIVE self.app_state = SidebandApp.ACTIVE
if self.conversations_view != None: if self.conversations_view != None:
self.root.ids.conversations_scrollview.effect_cls = ScrollEffect self.root.ids.conversations_scrollview.effect_cls = ScrollEffect
# TODO: Check if we actually need this now that the bouncy
# scrolling bug has been eliminated
# self.sideband.setstate("wants.viewupdate.conversations", True)
self.root.ids.conversations_scrollview.scroll = 1 self.root.ids.conversations_scrollview.scroll = 1
else: else: