diff --git a/ownCloudAppShared/Client/View Controllers/Location Breadcrumbs/ClientLocationPopupButton.swift b/ownCloudAppShared/Client/View Controllers/Location Breadcrumbs/ClientLocationPopupButton.swift index ce36ac717..8e9be00a6 100644 --- a/ownCloudAppShared/Client/View Controllers/Location Breadcrumbs/ClientLocationPopupButton.swift +++ b/ownCloudAppShared/Client/View Controllers/Location Breadcrumbs/ClientLocationPopupButton.swift @@ -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