Skip to content

Commit e70226f

Browse files
authored
Merge pull request #2223 from nextcloud/fix/noid/bar-buttons-text-color
fix: Bar buttons text color for iOS 26
2 parents 4635e4d + 7c48267 commit e70226f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

NextcloudTalk/BarButtonItemWithActivity.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ class BarButtonItemWithActivity: UIBarButtonItem {
1010
var innerButton = UIButton()
1111
var activityIndicator = UIActivityIndicatorView()
1212

13-
lazy var textColor: UIColor = NCAppBranding.themeTextColor()
13+
var textColor: UIColor {
14+
if #available(iOS 26.0, *) {
15+
return .label
16+
} else {
17+
return NCAppBranding.themeTextColor()
18+
}
19+
}
1420

1521
init(image: UIImage) {
1622
super.init()

0 commit comments

Comments
 (0)