Bug Fix: iOS should have 'Send a message (encrypted)' in placeholder

#1207
This commit is contained in:
Giom Foret
2017-05-19 14:46:30 +02:00
parent dfa45625f6
commit b34797525c
3 changed files with 33 additions and 13 deletions
+2 -4
View File
@@ -2390,15 +2390,13 @@
completion (finished);
}
// Here the placeholder may have been defined temporarily to display IRC command usage.
// The original placeholder (savedInputToolbarPlaceholder) will be restored during the handling of the next typing notification
// Consider here the saved placeholder only if no new placeholder has been defined during the height animation.
if (!toolbarView.placeholder)
{
// Restore the placeholder if any
toolbarView.placeholder = savedInputToolbarPlaceholder.length ? savedInputToolbarPlaceholder : nil;
savedInputToolbarPlaceholder = nil;
}
savedInputToolbarPlaceholder = nil;
}];
}
}