marinofaggiana 4 years ago
parent
commit
c073d76fa5
1 changed files with 2 additions and 4 deletions
  1. 2 4
      iOSClient/CapabilitiesView/NCCapabilitiesViewController.swift

+ 2 - 4
iOSClient/CapabilitiesView/NCCapabilitiesViewController.swift

@@ -75,9 +75,8 @@ class NCCapabilitiesViewController: UIViewController, UIDocumentInteractionContr
         self.navigationItem.rightBarButtonItem = UIBarButtonItem(image: shareImage, style: UIBarButtonItem.Style.plain, target: self, action: #selector(share))
         self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: NSLocalizedString("_done_", comment: ""), style: UIBarButtonItem.Style.plain, target: self, action: #selector(close))
 
-        textView.layer.borderWidth = 1
-        textView.layer.cornerRadius = 10
-        textView.layer.borderColor = UIColor.gray.cgColor
+        textView.layer.cornerRadius = 15
+        textView.backgroundColor = NCBrandColor.sharedInstance.graySoft
         
         imageEnable = CCGraphics.changeThemingColorImage(UIImage.init(named: "circle"), width: 50, height: 50, color: .green)
         imageDisable = CCGraphics.changeThemingColorImage(UIImage.init(named: "circle"), width: 50, height: 50, color: .red)
@@ -216,7 +215,6 @@ class NCCapabilitiesViewController: UIViewController, UIDocumentInteractionContr
                 } else if editor.editor == k_editor_onlyoffice {
                     onlyofficeEditors = true
                 }
-                
             }
         }