Selaa lähdekoodia

fix XCode 14 - icon

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 vuotta sitten
vanhempi
commit
a27c416abd

+ 0 - 15
iOSClient/Images.xcassets/addFolder.imageset/Contents.json

@@ -1,15 +0,0 @@
-{
-  "images" : [
-    {
-      "filename" : "icons8-aggiungi-cartella-3.svg",
-      "idiom" : "universal"
-    }
-  ],
-  "info" : {
-    "author" : "xcode",
-    "version" : 1
-  },
-  "properties" : {
-    "preserves-vector-representation" : true
-  }
-}

+ 0 - 4
iOSClient/Images.xcassets/addFolder.imageset/icons8-aggiungi-cartella-3.svg

@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg fill="#000000" viewBox="0 0 24 24" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg">
-  <path d="M 1 2 L 1 18 L 11.08 18 C 11.033 17.673 11 17.34 11 17 C 11 13.134 14.134 10 18 10 C 19.075 10 20.09 10.251 21 10.684 L 21 4 L 11 4 L 9 2 L 1 2 Z M 18.008 12.016 C 16.732 12.016 15.455 12.505 14.479 13.481 C 13.503 14.457 13.01 15.73 13.01 17.008 C 13.01 18.286 13.503 19.561 14.479 20.536 C 16.431 22.488 19.584 22.488 21.536 20.536 C 23.488 18.584 23.488 15.429 21.536 13.477 C 20.561 12.503 19.285 12.016 18.008 12.016 Z M 17.012 14.002 L 19.012 14.002 L 19.012 16.002 L 21.012 16.002 L 21.012 18.002 L 19.012 18.002 L 19.012 20.002 L 17.012 20.002 L 17.012 18.002 L 15.012 18.002 L 15.012 16.002 L 17.012 16.002 L 17.012 14.002 Z"/>
-</svg>

+ 1 - 1
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -1680,7 +1680,7 @@ extension NCCollectionViewCommon: UICollectionViewDataSource {
 
                 header.delegate = self
                 if headerMenuButtonsCommand && !appDelegate.isSearchingMode {
-                    header.setButtonsCommand(heigt: NCGlobal.shared.heightButtonsCommand, imageButton1: UIImage(named: "addImage"), titleButton1: NSLocalizedString("_upload_", comment: ""), imageButton2: UIImage(named: "addFolder"), titleButton2: NSLocalizedString("_folder_", comment: ""), imageButton3: UIImage(named: "scan"), titleButton3: NSLocalizedString("_scan_", comment: ""))
+                    header.setButtonsCommand(heigt: NCGlobal.shared.heightButtonsCommand, imageButton1: UIImage(named: "addImage"), titleButton1: NSLocalizedString("_upload_", comment: ""), imageButton2: UIImage(named: "folder"), titleButton2: NSLocalizedString("_create_folder_", comment: ""), imageButton3: UIImage(named: "scan"), titleButton3: NSLocalizedString("_scan_", comment: ""))
                 } else {
                     header.setButtonsCommand(heigt: 0)
                 }