Skip to content

Commit

Permalink
- workaround build issue on Xcode 14.2 (GitHub actions), preventing d…
Browse files Browse the repository at this point in the history
…ocumentation updates
  • Loading branch information
felix-schwarz committed Oct 23, 2023
1 parent cf90b7e commit 72b83c9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ open class ClientLocationPopupButton: ThemeCSSButton {
var buttonConfig = configuration ?? .plain()
buttonConfig.imagePadding = 5
buttonConfig.attributedTitle = attributedTitle
#if swift(>=5.9) // workaround build issue on Xcode 14.2 (GitHub actions)
buttonConfig.titleLineBreakMode = .byTruncatingMiddle
#endif
buttonConfig.image = chevronImage

self.configuration = buttonConfig
Expand Down

0 comments on commit 72b83c9

Please sign in to comment.