diff options
Diffstat (limited to 'main/src/ui/conversation_content_view/conversation_view.vala')
-rw-r--r-- | main/src/ui/conversation_content_view/conversation_view.vala | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/main/src/ui/conversation_content_view/conversation_view.vala b/main/src/ui/conversation_content_view/conversation_view.vala index 519aa01f..27472585 100644 --- a/main/src/ui/conversation_content_view/conversation_view.vala +++ b/main/src/ui/conversation_content_view/conversation_view.vala @@ -301,18 +301,9 @@ public class ConversationView : Widget, Plugins.ConversationItemCollection, Plug } private Adw.Animation scroll_animation(double target) { -#if ADW_1_2 return new Adw.TimedAnimation(scrolled, scrolled.vadjustment.value, target, 500, new Adw.PropertyAnimationTarget(scrolled.vadjustment, "value") ); -#else - return new Adw.TimedAnimation(scrolled, scrolled.vadjustment.value, target, 500, - new Adw.CallbackAnimationTarget(value => { - scrolled.vadjustment.value = value; - }) - ); -#endif - } public void initialize_around_message(Conversation conversation, ContentItem content_item) { |