1 parent 85a21a7 commit 8fa571cCopy full SHA for 8fa571c
1 file changed
NextcloudTalk/Chat/InputbarViewController.swift
@@ -182,9 +182,12 @@ import UIKit
182
// We use a CGColor so we loose the automatic color changing of dynamic colors -> update manually
183
self.textView.layer.borderColor = UIColor.systemGray4.cgColor
184
self.textView.tintColor = UIColor(cgColor: UIColor.systemBlue.cgColor)
185
- }
186
187
- self.setTitleView()
+ self.setTitleView()
+ } else if previousTraitCollection?.horizontalSizeClass != self.traitCollection.horizontalSizeClass || previousTraitCollection?.verticalSizeClass != self.traitCollection.verticalSizeClass {
188
+ // When the size class changes, we want to update the title view (e.g. to show/hide subtitle)
189
190
+ }
191
}
192
193
// MARK: - Configuration
0 commit comments