marinofaggiana 4 years ago
parent
commit
3be5c0b293
1 changed files with 4 additions and 0 deletions
  1. 4 0
      iOSClient/Select/NCSelect.swift

+ 4 - 0
iOSClient/Select/NCSelect.swift

@@ -207,6 +207,10 @@ class NCSelect: UIViewController, UIGestureRecognizerDelegate, UIAdaptivePresent
         }
     }
     
+    override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
+        super.traitCollectionDidChange(previousTraitCollection)        
+    }
+    
     @objc func changeTheming() {
         view.backgroundColor = NCBrandColor.shared.backgroundView
         collectionView.backgroundColor = NCBrandColor.shared.backgroundView