[ios] Fix blank secondary text view issue in PopoverLabelViewController
Previously when passing nil to secondaryAttributedString while initiating a PopoverLabelViewController, the popover will show a large blank area under the primary message. That's because a blank secondary TextView has occupied the space. Fixed the issue by only create secondary TextView when secondaryAttributedString has a value. Bug: 1115925 Change-Id: Ic01ae94037aaae14b76194aca439b3677682b921 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354519 Commit-Queue: Tina Wang <tinazwang@chromium.org> Reviewed-by:Javier Ernesto Flores Robles <javierrobles@chromium.org> Cr-Commit-Position: refs/heads/master@{#798627}
Showing
Please register or sign in to comment