Browse Source

clear code

marinofaggiana 5 years ago
parent
commit
19a8f40807

+ 2 - 2
iOSClient/BrowserWeb/NCBrowserWeb.storyboard

@@ -22,7 +22,7 @@
                                     <constraint firstAttribute="height" constant="30" id="ckh-Eb-Ze8"/>
                                     <constraint firstAttribute="width" constant="30" id="oHS-Ba-9eq"/>
                                 </constraints>
-                                <state key="normal" image="exit"/>
+                                <state key="normal" image="exitCircle"/>
                                 <connections>
                                     <action selector="touchUpInsideButtonExit:" destination="OOi-qQ-BCK" eventType="touchUpInside" id="hcA-Hb-TJd"/>
                                 </connections>
@@ -45,6 +45,6 @@
         </scene>
     </scenes>
     <resources>
-        <image name="exit" width="300" height="300"/>
+        <image name="exitCircle" width="329" height="329"/>
     </resources>
 </document>

+ 2 - 2
iOSClient/Login/CCLogin.storyboard

@@ -202,7 +202,7 @@
                                     <constraint firstAttribute="height" constant="30" id="YkC-Vc-Xvs"/>
                                     <constraint firstAttribute="width" constant="30" id="cFS-ia-6uF"/>
                                 </constraints>
-                                <state key="normal" image="exit"/>
+                                <state key="normal" image="exitCircle"/>
                                 <connections>
                                     <action selector="touchUpInsideButtonExit:" destination="yEb-Ky-35s" eventType="touchUpInside" id="yOK-1Z-3bI"/>
                                 </connections>
@@ -262,7 +262,7 @@
         </scene>
     </scenes>
     <resources>
-        <image name="exit" width="300" height="300"/>
+        <image name="exitCircle" width="329" height="329"/>
         <image name="loginPassword" width="25" height="25"/>
         <image name="loginURL" width="25" height="25"/>
         <image name="loginUser" width="25" height="25"/>

+ 1 - 1
iOSClient/Share/NCSharePaging.swift

@@ -39,7 +39,7 @@ class NCSharePaging: UIViewController {
         pagingViewController.metadata = metadata
         
         // Navigation Controller
-        var image = CCGraphics.changeThemingColorImage(UIImage(named: "exitCircle")!, width: 70, height: 70, color: NCBrandColor.sharedInstance.brandText)
+        var image = CCGraphics.changeThemingColorImage(UIImage(named: "exitCircle")!, width: 60, height: 60, color: NCBrandColor.sharedInstance.brandText)
         image = image?.withRenderingMode(.alwaysOriginal)
         self.navigationItem.rightBarButtonItem = UIBarButtonItem(image: image, style:.plain, target: self, action: #selector(exitTapped))