Fix warning when clicking to correct a message
This commit is contained in:
parent
3563232df0
commit
0cbc04aec8
|
@ -64,11 +64,6 @@ public class ConversationItemSkeleton : EventBox {
|
||||||
update_margin();
|
update_margin();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void set_edit_mode() {
|
|
||||||
if (content_meta_item == null) return;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private void update_margin() {
|
private void update_margin() {
|
||||||
if (item.requires_header && show_skeleton && metadata_header == null) {
|
if (item.requires_header && show_skeleton && metadata_header == null) {
|
||||||
metadata_header = new ItemMetaDataHeader(stream_interactor, conversation, item) { visible=true };
|
metadata_header = new ItemMetaDataHeader(stream_interactor, conversation, item) { visible=true };
|
||||||
|
|
|
@ -50,7 +50,6 @@ public class MessageMetaItem : ContentMetaItem {
|
||||||
Plugins.MessageAction action1 = new Plugins.MessageAction();
|
Plugins.MessageAction action1 = new Plugins.MessageAction();
|
||||||
action1.icon_name = "document-edit-symbolic";
|
action1.icon_name = "document-edit-symbolic";
|
||||||
action1.callback = (button, content_meta_item_activated, widget) => {
|
action1.callback = (button, content_meta_item_activated, widget) => {
|
||||||
message_item_widget.set_edit_mode();
|
|
||||||
this.in_edit_mode = true;
|
this.in_edit_mode = true;
|
||||||
};
|
};
|
||||||
actions.add(action1);
|
actions.add(action1);
|
||||||
|
|
Loading…
Reference in a new issue