diff options
author | fiaxh <git@lightrise.org> | 2020-09-10 19:31:16 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-09-10 19:35:56 +0200 |
commit | 0cbc04aec878accdcc9d621d85b0d610f81b5909 (patch) | |
tree | f52aec09d8a11d6dc31210542fb0041a6f264a5e /main | |
parent | 3563232df061bd091356098f063175deed238ab9 (diff) | |
download | dino-0cbc04aec878accdcc9d621d85b0d610f81b5909.tar.gz dino-0cbc04aec878accdcc9d621d85b0d610f81b5909.zip |
Fix warning when clicking to correct a message
Diffstat (limited to 'main')
-rw-r--r-- | main/src/ui/conversation_content_view/conversation_item_skeleton.vala | 5 | ||||
-rw-r--r-- | main/src/ui/conversation_content_view/message_widget.vala | 1 |
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); |