aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-09-15 19:20:34 +0200
committerfiaxh <git@lightrise.org>2024-09-15 19:35:00 +0200
commit13123dced135746b74f1f40148bfa9cef0c57dc0 (patch)
treeea064994e66450857923c4bde10344134c9baf2f /main/src/ui/conversation_content_view
parent91c8c8eb491c91f50a221cf7efe7c96a34a5de6b (diff)
downloaddino-13123dced135746b74f1f40148bfa9cef0c57dc0.tar.gz
dino-13123dced135746b74f1f40148bfa9cef0c57dc0.zip
Use Adwaita 1.2, bump CI to Ubuntu 24.04
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r--main/src/ui/conversation_content_view/conversation_view.vala9
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) {