mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Merge pull request #1231 from vector-im/riot_1207
Bug Fix: iOS should have 'Send a message (encrypted)' in placeholder Available only for the iPads, and the iPhones with a large screen (>= 4p7Inch)
This commit is contained in:
@@ -2444,15 +2444,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;
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user