Skip to content

Commit a7a8963

Browse files
author
Giorgio Ruscigno
committed
Update Tooltip.swift, make the string extension internally accessible to use it in JetpackPromptsConfiguration
1 parent 2a10e00 commit a7a8963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/Classes/ViewRelated/Feature Highlight/Tooltip.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ final class Tooltip: UIView {
397397
}
398398
}
399399

400-
private extension String {
400+
extension String {
401401
private func size(withMaxWidth maxWidth: CGFloat, font: UIFont) -> CGRect {
402402
let constraintRect = CGSize(width: maxWidth, height: .greatestFiniteMagnitude)
403403
let boundingBox = self.boundingRect(

0 commit comments

Comments
 (0)