mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
fixing a legacy issue that sometime removed the placeholder
This commit is contained in:
@@ -4998,10 +4998,11 @@ static CGSize kThreadListBarButtonItemImageSize;
|
||||
if (self.roomInputToolbarContainerHeightConstraint.constant != height)
|
||||
{
|
||||
// Hide temporarily the placeholder to prevent its distortion during height animation
|
||||
if (!savedInputToolbarPlaceholder)
|
||||
if (toolbarView.placeholder)
|
||||
{
|
||||
savedInputToolbarPlaceholder = toolbarView.placeholder.length ? toolbarView.placeholder : @"";
|
||||
savedInputToolbarPlaceholder = toolbarView.placeholder;
|
||||
}
|
||||
|
||||
toolbarView.placeholder = nil;
|
||||
|
||||
[super roomInputToolbarView:toolbarView heightDidChanged:height completion:^(BOOL finished) {
|
||||
|
||||
Reference in New Issue
Block a user