From 2cf6424da7150ea701ea9aa82aed52e2db288380 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Fri, 11 Jun 2021 12:59:25 -0300 Subject: [PATCH] Support multi-line tooltip in chat color view. --- .../ViewControllers/Wallpapers/ChatColorViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Signal/src/ViewControllers/Wallpapers/ChatColorViewController.swift b/Signal/src/ViewControllers/Wallpapers/ChatColorViewController.swift index e8de7ee59c..9dcbd77328 100644 --- a/Signal/src/ViewControllers/Wallpapers/ChatColorViewController.swift +++ b/Signal/src/ViewControllers/Wallpapers/ChatColorViewController.swift @@ -718,6 +718,8 @@ private class ChatColorTooltip: TooltipView { comment: "Tooltip highlighting the auto chat color option.") label.font = .ows_dynamicTypeSubheadline label.textColor = .ows_white + label.numberOfLines = 0 + label.lineBreakMode = .byWordWrapping return horizontalStack(forSubviews: [label]) }