Menu actions: Display the keyboard once the users tap on reply or edit

This also fixes the local echo issues we had when this screen stayed displayed
This commit is contained in:
manuroe
2019-06-14 16:28:21 +02:00
parent f9396a82ad
commit 343e76a13d
+6
View File
@@ -5112,6 +5112,9 @@
[self hideContextualMenuAnimated:YES cancelEventSelection:NO completion:nil];
[self selectEventWithId:eventId inputToolBarSendMode:RoomInputToolbarViewSendModeReply showTimestamp:NO];
// And display the keyboard
[self.inputToolbarView becomeFirstResponder];
};
// Edit action
@@ -5121,6 +5124,9 @@
MXStrongifyAndReturnIfNil(self);
[self hideContextualMenuAnimated:YES cancelEventSelection:NO completion:nil];
[self editEventContentWithId:eventId];
// And display the keyboard
[self.inputToolbarView becomeFirstResponder];
};
editMenuItem.isEnabled = [self.roomDataSource canEditEventWithId:eventId];