Browse Source

Fix graphics

Marino Faggiana 7 years ago
parent
commit
741ceae29c
2 changed files with 3 additions and 1 deletions
  1. 1 0
      Picker/DocumentPickerViewController.swift
  2. 2 1
      Picker/MainInterface.storyboard

+ 1 - 0
Picker/DocumentPickerViewController.swift

@@ -134,6 +134,7 @@ class DocumentPickerViewController: UIDocumentPickerExtensionViewController, CCN
         self.navigationController?.navigationBar.barTintColor = NCBrandColor.sharedInstance.brand
         self.navigationController?.navigationBar.tintColor = NCBrandColor.sharedInstance.navigationBarText
         self.navigationController?.navigationBar.titleTextAttributes = [NSAttributedStringKey.foregroundColor: NCBrandColor.sharedInstance.navigationBarText]
+        self.navigationController?.navigationBar.isTranslucent = false
         
         self.tableView.separatorColor = NCBrandColor.sharedInstance.seperator
         self.tableView.tableFooterView = UIView()

+ 2 - 1
Picker/MainInterface.storyboard

@@ -19,8 +19,9 @@
                         <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jNp-DD-DhT">
+                            <toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translucent="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jNp-DD-DhT">
                                 <rect key="frame" x="0.0" y="748" width="375" height="30"/>
+                                <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="30" id="7GX-XX-FId"/>
                                 </constraints>