mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
Revert the fix for keyboard stickiness, rename inputAccessoryView
This commit is contained in:
@@ -205,7 +205,7 @@ typedef enum : NSUInteger
|
||||
UIView *messageComposerContainer;
|
||||
|
||||
@protected
|
||||
UIView *inputAccessoryView;
|
||||
UIView *inputAccessoryViewForKeyboard;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -333,7 +333,7 @@ typedef enum : NSUInteger
|
||||
actually used to retrieve the keyboard view. Indeed the keyboard view is the superview of
|
||||
the accessory view when the message composer become the first responder.
|
||||
*/
|
||||
@property (readonly) UIView *inputAccessoryView;
|
||||
@property (readonly) UIView *inputAccessoryViewForKeyboard;
|
||||
|
||||
/**
|
||||
Display the keyboard.
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
@end
|
||||
|
||||
@implementation MXKRoomInputToolbarView
|
||||
@synthesize messageComposerContainer, inputAccessoryView;
|
||||
@synthesize messageComposerContainer, inputAccessoryViewForKeyboard;
|
||||
|
||||
+ (UINib *)nib
|
||||
{
|
||||
@@ -103,7 +103,7 @@
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
inputAccessoryView = nil;
|
||||
inputAccessoryViewForKeyboard = nil;
|
||||
|
||||
[self destroy];
|
||||
}
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
[super awakeFromNib];
|
||||
|
||||
// Add an accessory view to the text view in order to retrieve keyboard view.
|
||||
inputAccessoryView = [[UIView alloc] initWithFrame:CGRectZero];
|
||||
self.messageComposerTextView.inputAccessoryView = self.inputAccessoryView;
|
||||
inputAccessoryViewForKeyboard = [[UIView alloc] initWithFrame:CGRectZero];
|
||||
self.messageComposerTextView.inputAccessoryView = inputAccessoryViewForKeyboard;
|
||||
}
|
||||
|
||||
-(void)customizeViewRendering
|
||||
|
||||
Reference in New Issue
Block a user