Fix warning when clicking to correct a message

This commit is contained in:
fiaxh 2020-09-10 19:31:16 +02:00
parent 3563232df0
commit 0cbc04aec8
2 changed files with 0 additions and 6 deletions

View file

@ -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 };

View file

@ -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);