Browse Source

change position sectionColor

Marino Faggiana 8 years ago
parent
commit
840c6dd6e4
2 changed files with 2 additions and 4 deletions
  1. 1 4
      iOSClient/Create/CCCreateCloud.swift
  2. 1 0
      iOSClient/Info.plist

+ 1 - 4
iOSClient/Create/CCCreateCloud.swift

@@ -206,6 +206,7 @@ class CreateFormUploadAssets: XLFormViewController, CCMoveDelegate {
     var session : String = ""
     
     let appDelegate = UIApplication.shared.delegate as! AppDelegate
+    let sectionColor: UIColor = UIColor(colorLiteralRed: 239.0/255.0, green: 239.0/255.0, blue: 244.0/255.0, alpha: 1)
     
     convenience init(_ titleLocalServerUrl : String?, localServerUrl : String, assets : NSMutableArray, cryptated : Bool, session : String) {
         
@@ -234,8 +235,6 @@ class CreateFormUploadAssets: XLFormViewController, CCMoveDelegate {
 
         var section : XLFormSectionDescriptor
         var row : XLFormRowDescriptor
-
-        let sectionColor: UIColor = UIColor(colorLiteralRed: 239.0/255.0, green: 239.0/255.0, blue: 244.0/255.0, alpha: 1)
         
         // Section: Destination Folder
         
@@ -362,8 +361,6 @@ class CreateFormUploadAssets: XLFormViewController, CCMoveDelegate {
         self.navigationItem.leftBarButtonItem = cancelButton
         self.navigationItem.rightBarButtonItem = saveButton
         
-        //self.tableView.separatorStyle = UITableViewCellSeparatorStyle.none
-        
         self.tableView.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0);
         
         self.reloadForm()

+ 1 - 0
iOSClient/Info.plist

@@ -109,6 +109,7 @@
 	<array>
 		<string>audio</string>
 		<string>fetch</string>
+		<string>remote-notification</string>
 	</array>
 	<key>UIFileSharingEnabled</key>
 	<true/>