|
@@ -68,6 +68,11 @@ class NCSectionHeaderMenu: UICollectionReusableView, UIGestureRecognizerDelegate
|
|
|
changeTheming()
|
|
|
}
|
|
|
|
|
|
+ override func layoutSublayers(of layer: CALayer) {
|
|
|
+ super.layoutSublayers(of: layer)
|
|
|
+ gradient.frame = viewRichWorkspace.bounds
|
|
|
+ }
|
|
|
+
|
|
|
@objc func changeTheming() {
|
|
|
if textViewColor != NCBrandColor.sharedInstance.textView {
|
|
|
markdownParser = MarkdownParser(font: UIFont.systemFont(ofSize: 15), color: NCBrandColor.sharedInstance.textView)
|