Marino Faggiana 8 år sedan
förälder
incheckning
d4f3fc48f5
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      iOSClient/Create/CCCreateCloud.swift

+ 4 - 4
iOSClient/Create/CCCreateCloud.swift

@@ -95,10 +95,6 @@ class CreateMenu: NSObject {
         
         actionSheet?.cancelButtonTitle = NSLocalizedString("_cancel_", comment: "")
         
-        actionSheet?.addButton(withTitle: NSLocalizedString("Upload Template", comment: ""), image: UIImage(named: "template"), type: AHKActionSheetButtonType.encrypted, handler: {(AHKActionSheet) -> Void in
-            self.createMenuTemplate(view: view)
-        })
-        
         actionSheet?.addButton(withTitle: "Create a new folder", image: UIImage(named: "foldercrypto"), type: AHKActionSheetButtonType.encrypted, handler: {(AHKActionSheet) -> Void in
             appDelegate.activeMain.returnCreate(Int(returnCreateFolderEncrypted))
         })
@@ -111,6 +107,10 @@ class CreateMenu: NSObject {
             appDelegate.activeMain.returnCreate(Int(returnCreateFileEncrypted))
         })
 
+        actionSheet?.addButton(withTitle: NSLocalizedString("Upload Template", comment: ""), image: UIImage(named: "template"), type: AHKActionSheetButtonType.encrypted, handler: {(AHKActionSheet) -> Void in
+            self.createMenuTemplate(view: view)
+        })
+
         actionSheet?.show()
     }