aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-09-10 19:31:16 +0200
committerfiaxh <git@lightrise.org>2020-09-10 19:35:56 +0200
commit0cbc04aec878accdcc9d621d85b0d610f81b5909 (patch)
treef52aec09d8a11d6dc31210542fb0041a6f264a5e /main/src/ui/conversation_content_view
parent3563232df061bd091356098f063175deed238ab9 (diff)
downloaddino-0cbc04aec878accdcc9d621d85b0d610f81b5909.tar.gz
dino-0cbc04aec878accdcc9d621d85b0d610f81b5909.zip
Fix warning when clicking to correct a message
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r--main/src/ui/conversation_content_view/conversation_item_skeleton.vala5
-rw-r--r--main/src/ui/conversation_content_view/message_widget.vala1
2 files changed, 0 insertions, 6 deletions
diff --git a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala
index d126f72e..80aa4fd6 100644
--- a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala
+++ b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala
@@ -64,11 +64,6 @@ public class ConversationItemSkeleton : EventBox {
update_margin();
}
- public void set_edit_mode() {
- if (content_meta_item == null) return;
-
- }
-
private void update_margin() {
if (item.requires_header && show_skeleton && metadata_header == null) {
metadata_header = new ItemMetaDataHeader(stream_interactor, conversation, item) { visible=true };
diff --git a/main/src/ui/conversation_content_view/message_widget.vala b/main/src/ui/conversation_content_view/message_widget.vala
index 83d826e9..8e164857 100644
--- a/main/src/ui/conversation_content_view/message_widget.vala
+++ b/main/src/ui/conversation_content_view/message_widget.vala
@@ -50,7 +50,6 @@ public class MessageMetaItem : ContentMetaItem {
Plugins.MessageAction action1 = new Plugins.MessageAction();
action1.icon_name = "document-edit-symbolic";
action1.callback = (button, content_meta_item_activated, widget) => {
- message_item_widget.set_edit_mode();
this.in_edit_mode = true;
};
actions.add(action1);