get rid of additional UIHostingController. Cleanup and comments.

This commit is contained in:
David Langley
2022-10-12 14:14:25 +01:00
parent e525bd84f9
commit 89c643734c
9 changed files with 93 additions and 56 deletions
-7
View File
@@ -1997,13 +1997,6 @@ static CGSize kThreadListBarButtonItemImageSize;
// Show or hide input tool bar
[self updateInputToolBarVisibility];
if (@available(iOS 15.0, *)) {
if (self.inputToolbarView && [self.inputToolbarView isKindOfClass:WysiwygInputToolbarView.class]) {
// Update actions when the input toolbar refreshed
[self setupActions];
}
}
// Check whether the input toolbar is ready before updating it.
if (self.inputToolbarView && [self.inputToolbarView isKindOfClass:RoomInputToolbarView.class])
{